How can I fix the problem about saving?

1 回表示 (過去 30 日間)
thu nguyen
thu nguyen 2019 年 10 月 31 日
回答済み: thu nguyen 2019 年 10 月 31 日
Hi everyone,
I have a problem like this
save(strcat('dvhmatrixB','.mat'),dvhmatrixB)
??? Error using ==> save
Argument must contain a string
Why the matlab does not work? Thanks for your help!

採用された回答

thu nguyen
thu nguyen 2019 年 10 月 31 日
Yeah, It works. Thank you so much. I missed declaring 'string' for variable.

その他の回答 (1 件)

Sai Bhargav Avula
Sai Bhargav Avula 2019 年 10 月 31 日
編集済み: Sai Bhargav Avula 2019 年 10 月 31 日
Hi, save('dvhmatrixB','dvhmatrixB');
This will save dvhmatrixB in dvhmatrixB.mat file
Hope this helps

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by