Can simulink be saved data to workspace with 'To workspace' block at end of simulation
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hi everyone,
I create big model at simulink and ı have lots of output at this model(with use 'to workspace' block).
When ı run simulation , Simulink is exported data to workspace at same time .
I think, this situation is increased finished time of simulation.
I have enough hardware resource, so ı want to simulink is exported these data at end of simulation .
Have we got any option for this
thank you
0 Kommentare
Antworten (2)
Kaustubha Govind
am 10 Jun. 2013
See the second paragraph in my answer here to see what I think is how the 'To Workspace' block operates. In reality, even though data may be periodically written to the workspace throughout the simulation, it is not guaranteed to be available until simulation ends. Could you explain more about why you don't want the block to write to the workspace at all until simulation ends?
0 Kommentare
Ilkay Meseli
am 11 Jun. 2013
1 Kommentar
Kaustubha Govind
am 11 Jun. 2013
It doesn't look like the 'To Workspace' block allows you to specify the size of the buffer (RAM) that it uses for the signal data. You may need to create your own custom block using a mechanism such as MATLAB S-functions to do what you need. Please also consider submitting an enhancement request to add such an option to the block via MathWorks Support.
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!