Allowing old Matlab to use DOS command under UNC path

조회 수: 2 (최근 30일)
Gabriel Delcros
Gabriel Delcros 2017년 1월 3일
댓글: Gabriel Delcros 2017년 1월 6일
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