Change shell used by matlab
Ältere Kommentare anzeigen
I somehow run into a situation that a copyfile() is done through by my default $SHELL, which is /usr/local/bin/fish, which is out of the scope of the authors assumption, and the execution chokes on:
Error using copyfile
fish: Unknown command ' -r -p -f /Applications/MATLAB_R2016b.app/toolbox/matlab/guide/guitemplates/guidetemplate0.fig
I tried to
setenv SHELL /usr/local/bin/bash
but that doesn't work.
I dug through several docs on startup.m but none of them mentioned how can I specify another shell.
Hints?
1 Kommentar
Walter Roberson
am 18 Nov. 2016
Is there a space or shell metacharacter in the filename you are copying from?
Akzeptierte Antwort
Weitere Antworten (1)
Quan Zhou
am 18 Nov. 2016
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!