how to get value to workspace from simulink model when paused?which is running in a for loop

2 次查看(过去 30 天)
I am running script to open a simulink model and simulate it in a for loop for 100 steps,in which i want to pause my simulation at 30th step and pass the values from simulink model to workspace,,,,in a for loop models are not giving values to workspace
  1 个评论
Arun Badigannavar
Arun Badigannavar 2012-12-17
Simulink provides an application programming interface, called the block run-time interface, that enables programmatic access to block data, such as block inputs and outputs, parameters, states, and work vectors, while a simulation is running. You can use this interface to access block run-time data from the MATLAB command line, the Simulink Debugger, and from Level-2 MATLAB S-functions (see Write Level-2 MATLAB S-Functions).

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by