??? Error using ==> save Unable to write file No such file or directory.
Show older comments
I got this error when i run my simulation on my laptop but on my computer at university it works well and save file. even if i set my directory to dropbox it does not save my file
??? Error using ==> save
Unable to write file work_space_20-Apr-2013_18_19_31\LTE_2x2_it=1 it=2 it=3
it=4_EPA_rel1_20-Apr-2013_18_19_31_-8dB: No such file or directory.
Error in ==> LTE_DL_UL_simulator_main_SFBC_ULA_it at 587
save(filename);
here is the code
if(index == 1)
% To Save the work space for each SNR value
dir_name1 = strcat('work_space_',date,'_',datestr(now,'HH_MM_SS'));
mkdir(pwd,dir_name1);
end
filename = strcat(dir_name1,'\LTE_',num2str(Nt),'x',num2str(Nr),'_',label_iter,'_EPA_','rel1','_',date,'_',datestr(now,'HH_MM_SS'),'_',num2str(SINR_dB(index)),'dB');
save(filename);
can anyone help why it does not create file in dropbox and in my laptop... although it create the empty folder dir_name1.
1 Comment
Walter Roberson
on 20 Apr 2013
Which OS are you using on your laptop? Which OS are you using on your computer?
If you shorten label_iter to something like "it=1_4" then does it start working? How about "it1_4" without the "=" ? And how about if you use the longer label_iter but with the spaces replaced by underscore ?
Answers (0)
Categories
Find more on Filename Construction 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!