Filter löschen
Filter löschen

How can I fix the problem about saving?

2 Ansichten (letzte 30 Tage)
thu nguyen
thu nguyen am 31 Okt. 2019
Beantwortet: thu nguyen am 31 Okt. 2019
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!

Akzeptierte Antwort

thu nguyen
thu nguyen am 31 Okt. 2019
Yeah, It works. Thank you so much. I missed declaring 'string' for variable.

Weitere Antworten (1)

Sai Bhargav Avula
Sai Bhargav Avula am 31 Okt. 2019
Bearbeitet: Sai Bhargav Avula am 31 Okt. 2019
Hi, save('dvhmatrixB','dvhmatrixB');
This will save dvhmatrixB in dvhmatrixB.mat file
Hope this helps

Kategorien

Mehr zu Characters and Strings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by