Magic Model Analyst allows you to use an external Evaluator to evaluate an opaque expression in your model. Therefore, you can use any language supported by the external Evaluator in the body of the opaque expression.
- Integration with MATLAB (R2012a or later)
- Integration with MapleTM (17 or later)
- Integration with Mathematica (9 or later)
- Integration with Dymola (2021x or later)
You must specify the name of the language in the opaque expression. If you do not specify the language of the opaque expression, Magic Model Analyst will use the Default Language option specified in the Simulation Framework group in the Project Options dialog as follows.
The Default Language property in the Project Options dialog.
If the language of expressions of constraints of a SysML Constraint Block is not specified, Magic Model Analyst will use the Evaluator, specified in the Default Parametric Evaluator option in the Parametric Evaluator group in the Project Options dialog, to solve the expressions as follows.
The Default Parametric Evaluator property in the Project Options dialog.
Related pages
- Specifying the language for the expression
- Value binding
- Evaluating expressions
- Evaluation with causality
- Dynamic constraint
- Manual value updates using the Parametric Evaluator
- Communicating with evaluators through simulation console
- Exchanging values between Magic Model Analyst and Parametric Evaluator
- Built-in Math
- Trade study analysis
- Sample project