Attempt to execute SCRIPT builtin as a function

4 views (last 30 days)
I want to use the deploy function to create an exe from a mat file, hence I wanted to make sure I include all the matlab files necessary in the path.
I typed help path
and have been getting an error like so Attempt to execute SCRIPT builtin as a function: C:\Program Files\MATLAB\R2012a\toolbox\compiler\mcr\matlab\lang\builtin.m
and I can exit the software either
thanks

Accepted Answer

Sean de Wolski
Sean de Wolski on 24 May 2013
which -all builtin
Should show you your offending file you need to rename that is shadowing MATLAB's builtin().

More Answers (1)

GuoYanxia Guo
GuoYanxia Guo on 12 Jul 2018
I have encountered the same problem. How do you solve it?

Categories

Find more on Startup and Shutdown 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!