Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After installing MATLAB2012b and starting it, the folder MATLAB gets created under ~/Documents/.

I want this MATLAB folder to be created in other directory, for example ~/Documents/workspace.

What should I do?

share|improve this question
12.04 or 12.10? Please remove the extra tag. –  Basharat Sialvi Apr 24 '13 at 21:51

1 Answer 1

up vote 1 down vote accepted

in my case i install matlab in this directory /usr/local/MATLAB/R2012a then you go to /usr/local/MATLAB/R2012a/toolbox/local

ls startup.m

if you can't find the startup.m you can create this file by yourself.

the file contain syntax like this :

cd /path/your/path/you/want/matlab_work

it's work for me :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.