save workspace to .m file feature

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.

 Accepted Answer

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 Comments

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/
Thanks for the info!

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!