Clear Filters
Clear Filters

Error with GUIDE opening

2 views (last 30 days)
Mehdi Saberioon
Mehdi Saberioon on 25 May 2016
Edited: Mehdi Saberioon on 27 May 2016
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 Comments
Walter Roberson
Walter Roberson on 25 May 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 on 27 May 2016
Edited: Mehdi Saberioon on 27 May 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

Sign in to comment.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!