how can make folder out put to display my result?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
mary noor
le 29 Août 2014
Commenté : Image Analyst
le 30 Août 2014
how can make folder out put to display my result? or how and what meaning this loop pleas
if ~exist(output_folder,'dir')
mkdir(output_folder);
end
0 commentaires
Réponse acceptée
Image Analyst
le 29 Août 2014
That should do it. It checks if a folder by than name exists already . If it does not (~ means not ) then it calls mkdir() to create the folder.
2 commentaires
Image Analyst
le 30 Août 2014
Watch this completely http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/ Then, using the skills you learned in it, tell me what the value of output_folder is when you call compute(). Chances are you have not assigned it any value at all.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!