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 (R2016b or later)
- Integration with Mathematica (9 or later)
- Integration with Dymola (2021x or later)
For successful integration, you must use the 64-bit version of the external evaluator, e.g. MATLAB, to align it with the 64-bit version of modeling tools, e.g., MagicDraw or Cameo Systems Modeler.
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.