필터 지우기
필터 지우기

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

조회 수: 5 (최근 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