how i can overcome this problem about the command save ?

Answers (3)

You try to save to C:\Program Files\MATLAB\R2012b\bin, which explains the error message.
Proposal
save( 'c:\folder_with_write_permission\ABC.mat' )
or change current folder to a folder with write permission
You can't save anything under the c:\Program Files folder or subfolders of it. That's just Windows' rule. Save it someplace else where you do have permission to save it.
I would create a specific .mat file and save to it instead:
save ABC.mat
to save everything in your workspace, or to save only those variables:
save ABC.mat A B C
See the documentation on save for details.

Categories

Products

Tags

Asked:

on 24 Feb 2015

Answered:

on 24 Feb 2015

Community Treasure Hunt

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

Start Hunting!