フィルターのクリア

Is there a way to save a .mat file with a variable as a filename?

1 回表示 (過去 30 日間)
Kate
Kate 2013 年 6 月 5 日
Hello!
I have a variable defined in my workspace.
Example:
sitename =
US-FR2
How could I save a .mat file with this as the filename (US-FR2.mat), without typing it in manually?
Mil gracias

採用された回答

Walter Roberson
Walter Roberson 2013 年 6 月 5 日
save(sitename);

その他の回答 (1 件)

Kate
Kate 2013 年 6 月 5 日
Thanks

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by