error in MATLAB while shutting down

2 views (last 30 days)
Ricky
Ricky on 6 Jul 2013
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.

Answers (1)

per isakson
per isakson on 6 Jul 2013
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.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!