save workspace to .m file feature

24 views (last 30 days)
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

Jarrod Rivituso
Jarrod Rivituso on 8 Apr 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 Comments
Jarrod Rivituso
Jarrod Rivituso on 8 Apr 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 on 8 Apr 2011
Thanks for the info!

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler 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!