How to solve string error in xlswrite?
    2 views (last 30 days)
  
       Show older comments
    
xlswrite(data_cells,header,colnames,strcat('initial',num2str(data_num),'_decreased',num2str(decr),'.xls'));
But I am getting error: ??? Error using ==> xlswrite at 156 Filename must be a string.
Can any body please explain how to remove solve this error.
Thank You.
0 Comments
Accepted Answer
  Srinivas
      
 on 13 Jul 2012
        what version of MATLAB are you using, looks like you are referring to this link
http://www.mathworks.com/matlabcentral/fileexchange/2855-xlswrite, if that is the case you need to download the corresponding file from file exchange
0 Comments
More Answers (1)
  F.
      
 on 13 Jul 2012
        Well I don't know ....
   xlswrite(filename,A,sheet,range)
... the order of arguments ??? what do you think about ?
See Also
Categories
				Find more on Downloads in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!