MATLAB Answers

0

How can I fix the problem about saving?

Asked by thu nguyen on 31 Oct 2019
Latest activity Answered by thu nguyen on 31 Oct 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!

  0 Comments

Sign in to comment.

2 Answers

Answer by thu nguyen on 31 Oct 2019
 Accepted Answer

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

  0 Comments

Sign in to comment.


Answer by Sai Bhargav Avula on 31 Oct 2019
Edited by Sai Bhargav Avula on 31 Oct 2019

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

  0 Comments

Sign in to comment.