User manual

Dymola 2013 FD01 Release notes 31
3.3.3 Scripting
Call function dialog with output fields
The Call function dialog now also contains entries to fill in output variables, i.e. in what
variables of the scripting environment to store the results. If none of the output variable
entries are filled-in, the results are output in the scripting window.
Delete variables in workspace
The function
deleteVariables can be used to delete variables in work space
function deleteVariables
input String variables[:];
output Integer nrDeleted;
end deleteVariables;
Example:
deleteVariables({"A", "B"});
Script support for signal operators
The signal operator feature is also supported (except for the operators
First Harmonic and
Total Harmonic Distortion) in the built-in function plotSignalOperator(); see the
section about signal operators above.
Script support for plot expressions
The plot expression feature described above is also supported in the built-in function
plotExpression(); see the section about plotting expressions above.