Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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 Commento
Arun Badigannavar
Arun Badigannavar il 17 Dic 2012
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).

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by