how can make folder out put to display my result?

1 vue (au cours des 30 derniers jours)
mary noor
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

Réponse acceptée

Image Analyst
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
mary noor
mary noor le 30 Août 2014
thank you whene i read in help producte of matlap this requared connect with net cwhy requred to net. and i use this without connect to net.i have function function compute(xs,ys,zs,data3d,mode,output_folder) give my parameter as: function compute([1 64],[1 64],[1 64],data3d,1,output_folder) not use give me this error( Undefined function or variable 'output_folder')
Image Analyst
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by