Can simulink be saved data to workspace with 'To workspace' block at end of simulation
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (2)
Kaustubha Govind
le 10 Juin 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 commentaires
Ilkay Meseli
le 11 Juin 2013
1 commentaire
Kaustubha Govind
le 11 Juin 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.
Voir également
Catégories
En savoir plus sur Sources dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!