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 SolutionsMATLAB: Save workspace BUT with another name! please refer an following URLsavesave filenamesave ('filename')For example, if you want to save it as 'test', you would write:save testorsave ('test') MATLAB: Save in .mat Apparently, it wants you to use the syntax:save(filename,'Ybustotal','-v7.3') Related QuestionAbout fixing a scriptTry to use the cells saved in another m fileProblem with saving data as .mat file
Best Answer