Why does MATLAB add the MATLABROOT\bin directory to my path?

15 次查看(过去 30 天)
When MATLAB installs, it always add its "bin" directory to my path. Why?
Example: The end of my path has "C:\MathWorks\MATLAB\R2013b_32\bin" added to it.
What are the effects of having multiple version of MATLAB installed that all add themselves to my path. Right now, I have 6 version of MATLAB.

采纳的回答

Mihir Daptardar
Mihir Daptardar 2014-1-20
编辑:Mihir Daptardar 2014-1-20
1. Ordinarily, you would need to specify the entire path in order to launch an application. If this path is added to the system path, you can just specify the application's name in order to launch it. Also, the application can be accessed globally from any directory using the Windows command line.
2. If you have multiple versions of MATLAB, you need to check the system path. Windows will choose the MATLAB version which comes earlier in the system path. So if for instance you have MATLAB R2012a (32 bit) and MATLAB R2010b (64bit), Windows will check which MATLAB's path comes earlier and then launch that version.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by