Error: Name is nonexistent or not a directory
1 次查看(过去 30 天)
显示 更早的评论
Wen i type in following code
>>utilpath = fullfile(matlabroot, 'toolbox', 'imaq', 'imaqdemos', ... 'html', 'applications', 'laserTracking'); >> addpath(utilpath);
This is what i get. Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2007b\toolbox\imaq\imaqdemos\html\applications\laserTracking. > In path at 110 In addpath at 89
how can i go about it?
0 个评论
回答(2 个)
Andreas Goser
2011-3-9
The path in my (R2010b) installation is:
C:\Program Files\MATLAB\R2010b\toolbox\imaq\imaqdemos\html\laserTracking
Maybe your directory "applications" is wrong?
3 个评论
Andreas Goser
2011-3-9
So if you can confirm e.g. in the Windows Explorer that this directory is existing, it should be fine. At least for this reason, you do not need to upgrade.
Before I add suggestions, I also like to ask why do you try doing this at all? Just to run a demo? That should not be necessary.
Are you able to add the path interactively (menu File -> Set Path)?
Robert Cumming
2011-3-9
I dont have an applications directory either, try:
isdir ( utilpath )
to check if matlab recognises it as a directory
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!