PROBLEMS WITH SAVING PATHFOLDERS
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
Steven Lord
2024-1-8
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.
回答(2 个)
Image Analyst
2024-1-8
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 个评论
Image Analyst
2024-1-8
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
2024-1-9
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 External Language Interfaces 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
