how can make folder out put to display my result?
1 view (last 30 days)
Show older comments
mary noor
on 29 Aug 2014
Commented: Image Analyst
on 30 Aug 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 Comments
Accepted Answer
Image Analyst
on 29 Aug 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 Comments
Image Analyst
on 30 Aug 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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!