Error with GUIDE opening

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 个评论

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.
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 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by