PROBLEMS WITH SAVING PATHFOLDERS
5 views (last 30 days)
Show older comments
Hello, currently I'm working with exiftool to change the attributes from some pictures, I run this script in my computer and I don't have any problem with them, however when I install Matlab2021a in my office computer, I run my script and I have and adverstiment about the script doesn't find the specified path. I don't know what it's problem, I give all the permits to all users but neither. Please help to find some answer or solution to my problem.
2 Comments
Steven Lord
on 8 Jan 2024
Do you receive warning and/or error messages? If so the full and exact text of those messages (all the text displayed in orange and/or red in the Command Window) may be useful in determining what's going on and how to avoid the warning and/or error. Don't paraphrase, don't summarize, copy and paste.
You may also need to show us a small sample of code with which we can attempt to reproduce the problem.
Answers (2)
Image Analyst
on 8 Jan 2024
I'd say that you don't have the folderpath on your computer
folderPath = '\path\folder\test';
or else the images are not in that particular folder.
2 Comments
Image Analyst
on 8 Jan 2024
Well whatever it is, the answer is the same. That folder does not exist or the files are not in it. What does this say
folderPath = '\path\folder\test'; % Replace with actual path
if ~isfolder(folderPath)
errorMessage = sprintf('The folder %s does not exist!', folderPath)
errordlg(errorMessage);
return;
else
message = sprintf('The folder %s does exist!', folderPath)
uiwait(helpdlg(message));
end
Image Analyst
on 9 Jan 2024
I noticed that you included the drive letter in one path but not the others. Try putting the drive letter in all paths. What operating system are you using? Does it use drive letters (Windows) or not (Unix, mac)?
0 Comments
See Also
Categories
Find more on External Language Interfaces 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!