Open MATLAB file from another directory
2 次查看(过去 30 天)
显示 更早的评论
I want to open MATLAB figure files from another directory than they were originally stored. Is this possible? For this I guess I would have to change the underlying path... The program is now giving me this warning: 'Could not find appropriate function on path loading function handle.'
1 个评论
回答(1 个)
Dennie
2015-10-16
I'm not sure I fully understand your question, but I think you mean just to load an image that is not on your current path.
Two ways of doing this:
1. Add the directory to your path
addpath('<your_path>');
2. Specify the path in the open command
open('<your_path>')
(use winopen() if the figure is not a matlab figure)
Best regards,
Dennie
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!