error in MATLAB while shutting down

I am trying to close my MATLAB but getting the following error
Attempt to execute SCRIPT builtin as a function: C:\ProgramFiles\MATLAB\R2010b\toolbox\compiler\mcr\matlab\lang\builtin.m
I just clicked on the windows close icon. Even when I type close all
Error: File: close.m Line: 1 Column: 25 The input character is not valid in MATLAB statements or expressions.
What can be the problem.

回答(1 个)

Try
which builtin -all
it should return one line similar to
built-in (C:\Program Files\MATLAB\R2012a\toolbox\matlab\lang\builtin)
The error message indicates that you have a script named builtin, which is called instead of the Matlab function. If so, rename that script.

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

提问:

2013-7-6

Community Treasure Hunt

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

Start Hunting!

Translated by