Problem to save a variable to a .mat file

1 回表示 (過去 30 日間)
Rafael Freire
Rafael Freire 2014 年 6 月 11 日
回答済み: Image Analyst 2014 年 6 月 11 日
When I try to save my workspace i got this message
Warning: Variable 'Colunas2D' cannot be saved to
a MAT-file whose version is older than 7.3.
To save this variable, use the -v7.3 switch.
Skipping...
How can I save this variable into a .mat file Thank you

回答 (2 件)

José-Luis
José-Luis 2014 年 6 月 11 日
編集済み: José-Luis 2014 年 6 月 11 日
The error message is descriptive. Please try:
save(filename,variables,'-v7.3')
Please read the documentation if you would like to understand better:
doc save

Image Analyst
Image Analyst 2014 年 6 月 11 日
You can delete that old, pre-v7.3 mat file, and just save it anew.

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by