error with function save (Unknown command option)
Show older comments
Hello, I have a problem when I use the save function but I can not find my error (I checked my variables and they are correct):
my code :
for i=1 : Number_of_pages
liste_de_index = Main_Table.Lbl == liste_de_labels(i);
Main_Table_filtered =Main_Table(liste_de_index,1:7);
Main_Table(liste_de_index,:) = [];
save(strcat(Name_Excel,'_table_',num2str(i),'.mat'),'Main_Table_filtered');
warning('off','MATLAB:xlswrite:AddSheet');
clearvars liste_de_index
end
and the command windows send :
Error using save
Unknown command option.
Error in Filter_text_file_and_create_Excel (line
125)
save(strcat(Name_Excel,'_table_',num2str(i),'.mat'),'Main_Table_filtered');
somebody knows ?
Accepted Answer
More Answers (1)
Tao Zhou
on 2 Apr 2020
0 votes
When I had a big data to save I came in this problem too.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!