Allowing old Matlab to use DOS command under UNC path

2 次查看(过去 30 天)
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 :)

采纳的回答

Guillaume
Guillaume 2017-1-3
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 个评论
Guillaume
Guillaume 2017-1-5
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?
Gabriel Delcros
Gabriel Delcros 2017-1-6
Here is my error:
If I translate the french sentence Under the blue linnk you have : CMD.EXE run with the current path. UNC path are not alowded. Windows directory used by default. Access denied

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by