how i can overcome this problem about the command save ?

回答(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.

类别

帮助中心File Exchange 中查找有关 MATLAB Web App Server 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by