필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Mupad on Mac; exporting graphics to disk

조회 수: 1 (최근 30일)
Wilhelm
Wilhelm 2011년 2월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
In Mupad 4 (the old standalone version of Mupad) the following statement exports a graphic to the desktop of my Mac:
myimages:="/Users/administrator/Desktop/": plot(plot::Function2d(x^2,x=-1..1),OutputFile=myimages."image_1.jpg");
The same statement when called from Mupad 5.5 (Matlab 2010b) gives an error:
Error: cannot launch mupad process [vcam::new]
Any suggestions? Regards Wilhelm

답변 (1개)

Martin Knelleken
Martin Knelleken 2011년 2월 16일
Hi Wilhelm,
I checked
myimages:="/tmp/": plot(plot::Function2d(x^2,x=-1..1),OutputFile=myimages."image_1.jpg");
on my Mac in MATLAB 2010b and it works as expected.
However, if I choose a directory where I don't have write permissions or which doesn't exist I get the same error message as you. E.g. myimages:="/Users/NameOfAnotherUser/":
Aside from the fact that the error message is confusing and unhelpful in this case it seems that you don't have write access to /Users/administrator/Desktop/.
Regards
- Martin

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by