Error Message: Execution of script builtin as a function is not supported:
Mostrar comentarios más antiguos
I have been running scripts with Matlab2009b and different ones for Matab2017 for the fast few years. Just recently, I have been getting these strange errors when I try to use the scripts.
Execution of script builtin as a function is not supported: [file location].
When I try to open a .m file I get this error message.
Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters.
These are new error messages and it doesn't matter if I am on 2009, 2017 or 2023b. I am getting the same error messages. I can't even view variables anymore. Is there some incompatability thing going on?
Respuestas (1)
Walter Roberson
el 12 de Oct. de 2024
0 votos
This suggests that you have somehow added a builtin.m to your MATLAB path. You will need to track it down and remove it. If you are lucky then
which -all builtin
will show you the offending file.
You could experiment with using
restoredefaultpath; rehash toolboxecache
If that works then
savepath
You will likely need to do this for all versions of MATLAB.
But I suspect that you have builtin.m in your default MATLAB directory.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!