What happened to errors
Mostra commenti meno recenti
I use MATLAB in my 3rd year course. I use live scripts (mlx), as they are best for teaching. In v2024, the following code would output a clear error "Not enough input arguments." But, in v2025, I just get no error information. How do I turn error explanations back on?
%% A simple bugged code usage
function seq=RUNME(a,b)
seq(1)=a;
for i=2:b
seq(i)=seq(i-1)/b;
end
end
RUNME(1)
2 Commenti
Dyuman Joshi
il 8 Gen 2026
Starting from R2025a, (local) functions can be defined anywhere in a script. They don't necessarily have to be at the end of the script code anymore.
"How do I turn error explanations back on?"
You will have to revert to an older version of MATLAB.
Warren
il 8 Gen 2026
Risposte (1)
Warren
il 9 Gen 2026
1 voto
Categorie
Scopri di più su Programming in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!