import variables from Base Workspace into Simulink model
4 views (last 30 days)
Show older comments
Hi,
Is it possible to show the variables in Base Workspace on the Simulink model window automatically after one simulation? Maybe some objects are needed to be created on the model window to hold there values.
I think oscilloscops can be poppped up automatically with the simulation. Are there tools for Base Workspace?
Thanks Senmeis
1 Comment
Andreas Goser
on 3 Dec 2012
Hello Owen or Senmeis. I noticed you are posting your questions here as well as in the German lannguage community. In my viewpoint it is polite to choose one way of getting help or only choose the other way when you don't get answers. I also sent a PM to you on gomatlab.de you have not yet responded. I would like to work with you to make your work more efficient and effective.
Accepted Answer
Azzi Abdelmalek
on 2 Dec 2012
Edited: Azzi Abdelmalek
on 2 Dec 2012
use To Workspace block from Simulink/Sinks
In the block properties, give a name to your variable, by default it's simout. Also set variable format to array
2 Comments
Azzi Abdelmalek
on 3 Dec 2012
to display your variables you can use a display block from simulink/sinks
More Answers (0)
See Also
Categories
Find more on Event Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!