MATLAB: How to fix the problem about saving

filesavestring

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!

Best Answer

Yeah, It works. Thank you so much. I missed declaring 'string' for variable.
Related Question