Main Content

Startup and Shutdown

Startup command line flags, startup and shutdown files

Attention

Best practice is to run MATLAB®only as a privileged user whenever elevated privileges are specifically required. A privileged user refers to the root user on Linux®andMac, or an administrator on Windows®.

Fonctions

développer tout

matlab (Windows) StartMATLABprogram fromWindowssystem prompt
matlab (macOS) StartMATLABprogram frommacOSTerminal
matlab (Linux) StartMATLABprogram fromLinuxsystem prompt
batchStartupOptionUsed Determine ifMATLABstarted with-batchoption
quit TerminateMATLABprogram
exit TerminateMATLAB程序一样(辞职)
startup User-defined startup script forMATLAB
finish User-defined termination script forMATLAB
matlabrc System administrator-defined start up script forMATLAB

Rubriques

Résolution des problèmes

Recovering Data After Abnormal Termination

Techniques for recovering information if MATLAB terminates unexpectedly.

Crash Reporting

Sending crash reports to MathWorks®.

When MATLAB Terminates Unexpectedly

Using MathWorks Crash Reporter and Crash Analyzer to report an internal error.

Specifying Java Startup Options

You can specify custom Java®startup options by creating ajava.optsfile.

Associate .mat Files with MATLAB

To associate a.matextension type with MATLAB R2010b or later, use the Microsoft WindowsDefault Programscontrol panel.

Remove canberra-gtk-module and pk-gtk-module Messages

How to removecanberra-gtk-moduleandpk-gtk-modulemessages at startup.