Info

This question is closed. Reopen it to edit or answer.

regarding save in matlab

2 views (last 30 days)
Aparna
Aparna on 20 Mar 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi
When i used the save function, 73113 values get saved.
Is there any way to change the number of values that get saved?
Any help would be appreciated.

Answers (2)

Grzegorz Knor
Grzegorz Knor on 20 Mar 2012
Use save with optional arguments:
save('your_file', 'first_variable', 'second_variable', ... )
see also doc:

Andreas Goser
Andreas Goser on 20 Mar 2012
When simply using save, it saves all existing variables. You can determine how many those are by using WHO / WHOS commands.

Community Treasure Hunt

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

Start Hunting!