Command:
loadNamedModelOutput ( |
|
What:
Loads the results of the model execution in the
SimLab environment reading the output matrix. This command permits to the user to manually sei the names of the outputs
Parameters:
runs [long] |
the
number of runs |
numOutputs [int] |
the
number of outputs of the model |
nameOutputs [array of char strings] |
array containing the names of the output variables of the model |
outputs [matrix of double] |
matrix sized #runs x #outputs that contains the model evaluation results |
Return:
error_code [int]: 1 if the operation has occurred without errors, 0 if an error has occurred
Examples:
loadModelOutput(1400,1,{'output_variable'},model_out)
this command in Matlab loads in SimLab the results of the model evaluation. The model has only an output variable called outvar and it has been executed 1400 times. Therefore model_out is an array of 1400 values.