MLAutoStart
Automatically start MATLAB
Syntax
= MLAutoStart(flag)
MLAutoStart flag
out = MLAutoStart(flag)
Description
= MLAutoStart(
sets
automatic startup of the Spreadsheet Link™ and MATLAB® software.
A change of state takes effect the next time an Excel® session
starts. Use this syntax when working directly in a worksheet.flag
)
MLAutoStart
sets
automatic startup of the Spreadsheet Link and MATLAB software.
A change of state takes effect the next time an Excel session
starts. Use this syntax in a VBA macro.flag
lets
you catch errors when executing out
= MLAutoStart(flag
)MLAutoStart
in
a VBA macro. If MLAutoStart
fails, then out
is
a string containing error code. Otherwise, out
is 0
.
Input Arguments
|
Either Specify Default: |
Output Arguments
|
|
Examples
Tips
If Spreadsheet Link and MATLAB are running, then
MLAutoStart("no")
does not stop them.To work with VBA code in Excel with Spreadsheet Link, you must enable Spreadsheet Link as a reference in the Microsoft Visual Basic® Editor. For details, see Installation.