Simulink.data.evalinGlobal
Evaluate MATLAB expression in context of Simulink model
Description
evaluates
the MATLAB expression returnValue
= Simulink.data.evalinGlobal(modelName
,expression
)expression
in the context
of the Simulink model modelName
and returns the
values returned by expression
. evalinGlobal
evaluates expression
in
the Design Data section of the data dictionary that is linked to the
target model or in the MATLAB base workspace if the target model is
not linked to any data dictionary.
Examples
Input Arguments
Output Arguments
Tips
evalinGlobal
helps you transition Simulink models to the use of data dictionaries. You can use the function to manipulate model variables before and after linking a model to a data dictionary.
Version History
Introduced in R2015a