What is the default installation path for Matlab on architecture X?
Show older comments
Hi all!
I'm in the process of writing a new FindMatlab.cmake file, as all the versions I've found on the internet have woeful limitations (don't work on Mac, only work for Matlab v7, etc). As part of this, I need a list of install locations for different architectures. As Mathworks doesn't seem to advertise this anywhere, I thought I would try to crowd-source it.
This is where you come in!
Please reply with the full path to the matlab executable on your system. For example, on my Mac this would be: /Applications/MATLAB_R2012b.app/bin/matlab
The architectures I'm looking for are: win32, win64, mac, maci, maci64, glnx, glnx64, sol, sol64, a64. If you have something more exotic, please let me know! The more comprehensive the list, the better FindMatlab.cmake can work :)
Thanks heaps!
1 Comment
Daniel Shub
on 10 Mar 2013
Have you thought about contacting technical support?
Accepted Answer
More Answers (3)
Konrad Malkowski
on 12 Mar 2013
One possible approach on linux/mac would be:
> find / -name matlab
This would recursively search the file system for "matlab"
I am sure that similar functionality can be created in PERL or another scripting language.
Shashank Prasanna
on 11 Mar 2013
Hilton
on 12 Mar 2013
0 votes
2 Comments
Royi Avital
on 2 Aug 2019
Is it `/usr/local/MATLAB/Rxxxxx` or `/usr/local/Matlab/Rxxxxx`?
Walter Roberson
on 3 Aug 2019
For Mac it is /Applications/MATLAB_Rxxxxx
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!