| Contents | Index |
MLShowMatlabErrors(flag)
MLShowMatlabErrors flag
out = MLShowMatlabErrors(flag)
MLShowMatlabErrors(flag) sets the Spreadsheet Link EX error display mode when executing MATLAB commands using MLEvalString. Use this syntax when working directly in a worksheet.
MLShowMatlabErrors flag sets the Spreadsheet Link EX error display mode when executing MATLAB commands using MLEvalString. Use this syntax in a VBA macro.
out = MLShowMatlabErrors(flag) lets you catch errors when executing MLShowMatlabErrors in a VBA macro. If MLShowMatlabErrors fails, then out is a string containing error code. Otherwise, out is 0.
out |
0 if the command succeeded. Otherwise, a string containing error code. |
Switch to displaying standard Spreadsheet Link EX errors, such as #COMMAND, on MLEvalString failures:
MLShowMatlabErrors("no")Switch to displaying MATLAB error strings, such as ??? Undefined function or variable 'foo', on MLEvalString failures:
MLShowMatlabErrors("yes")

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |