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일

0 개 추천

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일

1 개 추천

Hi, save('dvhmatrixB','dvhmatrixB');
This will save dvhmatrixB in dvhmatrixB.mat file
Hope this helps

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

질문:

2019년 10월 31일

답변:

2019년 10월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by