Effacer les filtres
Effacer les filtres

save workspace to .m file feature

9 vues (au cours des 30 derniers jours)
Fangjun Jiang
Fangjun Jiang le 8 Avr 2011
Any news whether the "save workspace to .m file" feature is available in 2011a? I didn't find it from what I read so far.
It was indicated that it was going to be available in 2010a or 2010b.

Réponse acceptée

Jarrod Rivituso
Jarrod Rivituso le 8 Avr 2011
I know that the Simulink.saveVars function can do this:
>> Simulink.saveVars('testVars.m')
That's been around for a little while I believe.
  2 commentaires
Jarrod Rivituso
Jarrod Rivituso le 8 Avr 2011
Even a blog post on the issue:
http://blogs.mathworks.com/videos/2010/10/12/writing-out-your-workspace-variables-as-a-script-with-simulinksavevars/
Fangjun Jiang
Fangjun Jiang le 8 Avr 2011
Thanks for the info!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT-Files 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!

Translated by