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?

Answers (1)

4 Comments

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.
Have u got it Mr SAchin,am also looking for same,,but am unable to develop it

Sign in to comment.

Categories

Products

Tags

Asked:

on 31 Oct 2012

Community Treasure Hunt

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

Start Hunting!