when i opening new blank GUI using
guide
I am receiving following error
Error using copyfile
fish: Unknown command ' -r --preserve=timestamps,mode -f /usr/local/MATLAB/R2014b/toolbox/matlab/guide/guitemplates/guidetemplate0.fig
/tmp/tp95850ac1_4096_4622_a4d3_8674e8f55640.fig'
Error in guidetemplate/processDialogResult (line 168)
copyfile(srcfigfile, targetfigfile, 'writable');
Error in guidetemplate/dialogCallback (line 103)
processDialogResult(quickstartpanel);
Warning: Error occurred while evaluating listener callback.
I am running matlab R14b on Ubuntu 14.04.1
How to fix it ?

댓글 수: 2

Walter Roberson
Walter Roberson 2016년 5월 25일
You appear to be using the "fish" shell; that might be interfering.
The part that is shown as unknown is arguments to the Linux "cp" utility. I do not know at the moment why the "cp" command itself might have disappeared, unless somehow it was aliased to nothingness.
Mehdi Saberioon
Mehdi Saberioon 2016년 5월 27일
편집: Mehdi Saberioon 2016년 5월 27일
Thank you for your comment, As you said fish shell causing this error . to fix it i have changed shell using following code :
env SHELL=/bin/sh matlab

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

제품

질문:

2016년 5월 25일

편집:

2016년 5월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by