Can i update the matlab workspace during simulation?

Hello,
With the 'to workspace' block i want to write values to the matlab workspace. Then i load in a value from workspace. But 'to workspace' block only can update the matlab workspace at the end of simulation. Is there any way that i can update the matlab workspace during simulation?

답변 (1개)

Sachin Ganjare
Sachin Ganjare 2012년 10월 31일

1 개 추천

댓글 수: 4

Hi Sachin,
Thank you for your help. For these links, it seems that i'll need to write an S-Function. I'll try it. Thank you very much.
Another option is using event listeners. See Access Block Data During Simulation.
Thanks Kaustubha.
Have u got it Mr SAchin,am also looking for same,,but am unable to develop it

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

태그

질문:

2012년 10월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by