Max Recursion even when using clear

3 visualizaciones (últimos 30 días)
Neil Ogle
Neil Ogle el 31 de En. de 2024
Editada: Bruno Luong el 31 de En. de 2024
I have a student, using 2023b, whose script wont run even when the "clear" function at the start of the program is reached. She gets the "MAX recursion limit of 500 reached" error. It's also saying that she's trying to use the same name as an inbuilt function. We know, we want thant inbuilt function to run. Any suggestions?

Respuestas (1)

Bruno Luong
Bruno Luong el 31 de En. de 2024
Editada: Bruno Luong el 31 de En. de 2024
Don't name your script function clear.m. In command windows type
which clear
then rename or remove that file to restore the builtin function

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by