Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleWarning
  • You must successfully integrate MATLAB Version 2016b R2016b or later before using Simulink co-simulation. See See Integration with MATLAB.
  • The Simulink model must be exported with any version not later than R2019b (e.g., not R2020).
  • The Simulink model must be exported with the Single simulation output option unchecked.
  • Any duplicated Simulink model is not allowed in the project.
  • If there is no input for the In Port, Simulation will skip the evaluation, and a warning message will be printed in the Console panel.


Note
titleNote
  • Simulink models without input/output Ports are not executed because there is no connectivity, and value change is not propagated to the Block.
  • This type of Simulink integration is for atomic calculations. When any input changes, outputs such as the parametric diagram are calculated, e.g. In1 → Gain5 → Out1. It occurs as one step of Simulation time, the same as FMU.
  • If the simulink file (.slx) is updated or modified, Simulation needs to restart the MATLAB session by calling the kill matlab command in the Simulation console.

...