MATLAB Answers


how to deal with ''Attempt to execute SCRIPT '' error?

Asked by Lina
on 22 Oct 2012

I try to usecdf('T',2,2) and it shows like this:

Attempt to execute SCRIPT cdf as a function: E:\matlab2\toolbox\stats\stats\ja\cdf.m

and then I try to close matlab, it shows like this:

Attempt to execute SCRIPT builtin as a function: E:\matlab2\toolbox\compiler\mcr\matlab\lang\builtin.m

what's wrong with it? Is it because I add in the path which contains tool box? if so , then how to delete the setted path?


  1 Comment

Yes, manually adding paths into toolboxes can cause that kind of error when you get the path order wrong.

Log in to comment.

0 Answers

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!