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 Kommentare

Walter Roberson
Walter Roberson am 25 Mai 2016
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 am 27 Mai 2016
Bearbeitet: Mehdi Saberioon am 27 Mai 2016
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 25 Mai 2016

Bearbeitet:

am 27 Mai 2016

Community Treasure Hunt

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

Start Hunting!

Translated by