Link to Simulink

Back to the index
Back to the top of index


Goal:

Create the required files for linking Caspoc with Simulink
What to do: Use the FromSLNK and ToSLNK blocks for creating the interface from Caspoc to Simlink. In Simulink use the S-function to couple to Caspoc.
Select always Export to Simulink before starting the simulation in Simulink.While the simulation in Simulink is running, Caspoc can not be used for other simulations. The results from the simualtion are only available in Simulink or Matlab.
Result:

Note:

The stepsize in Simulink and Caspoc has to be equal!
See the tutorial on the coupling with Simulink.

Back to the index
Back to the top of index

Online Helpclick here to get to the online help

© Simulation Research, www.caspoc.com