Allowing old Matlab to use DOS command under UNC path
2 views (last 30 days)
Show older comments
Gabriel Delcros
on 3 Jan 2017
Commented: Gabriel Delcros
on 6 Jan 2017
Hello everyone,
I have to use Simulink models with UNC path. My problem is : matlab before release R2009a is unable to use the DOS command under the UNC path.
I have read a bug report from MathWorks on the link below : https://fr.mathworks.com/support/bugreports/340552?s_tid=srchtitle
I have followed all the step writing on the tutorial but it is not working either. I can't upgrade my models (technical issue), so I would like to know if someone knows a way to "upgrade" my Matlab installation folder to be able to use DOS command under the UNC path (with release under than the R2009a).
Thank you for your answer :)
0 Comments
Accepted Answer
Guillaume
on 3 Jan 2017
The bug report that you link applies to the Real Time Workshop only and it looks like the solution works around the issue by not calling dos. So I'm not sure how it applies in your case.
Anyway, can't you just map the UNC to a local drive and work from the local drive? This is actually what mathworks suggests in the documentation of the dos command (under limitations).
10 Comments
Guillaume
on 5 Jan 2017
Well, if you want to work from a UNC path, then you need to get rid of any call to the dos command. Not being familiar with simulink, I don't know if being able to call dos is required in versions < R2009b. If it is, you simply won't be able to work from a UNC path.
What is the exact error you're getting, anyway?
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!