Matlab Cannot find files or folders matching

Having error at line (Cannot find files or folders matching error). What to do? Thanks. outputFolder = fullfile('Project'); rootFolder = fullfile(outputFolder, 'Brain classification');

5 Comments

outputFolder = fullfile('Project');
rootFolder = fullfile(outputFolder, 'Brain classification');
What exactly is this snippet of code supposed to do?
What are "Project" and "Brain classification"?
outputFolder = fullfile('Project')
This simply returns the unchanged char array 'Project. What do you expect fullfile doing?
I don’t know, but I still getting error , I have copied this from youtupe and now I don’t know that to do
What are "Project" and "Brain classification"? Files
"What are "Project" and "Brain classification"? Files"
Then you need to include their extensions as well.
What is the objective? What are you trying to do?

Sign in to comment.

Answers (1)

outputFolder = fullfile('Project');
rootFolder = fullfile(outputFolder, 'Brain classification');
if ~isfolder(outputFolder); mkdir(outputFolder); end
if ~isfolder(rootFolder); mkdir(rootFolder); end

Categories

Products

Tags

Asked:

on 18 Nov 2023

Answered:

on 18 Nov 2023

Community Treasure Hunt

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

Start Hunting!