syms does not work on my matlab
66 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Seungjun Lee
el 8 de Sept. de 2022
Comentada: John D'Errico
el 11 de En. de 2024
I have installed Symbolic Math Toolbox and Simulink for my Matlab but when I try to use syms on my program it doesn't work.
"Execution of script syms as a function is not supported:" shows up
At first I thought I installed it wrong but sym works perfectly fine....
Only syms doesn't work....
What is the problem?
0 comentarios
Respuesta aceptada
John D'Errico
el 8 de Sept. de 2022
Editada: John D'Errico
el 8 de Sept. de 2022
Is there a reason why you decided to name a script syms, and then tried to use syms itself? What you did was confuse MATLAB, so that now, when it tried to use the real syms command/function, it sees your script FIRST.
DO NOT NAME YOU OWN FUNCTIONS OR SCRIPTS WITH NAMES THAT ALREADY EXIST. If you do that, then do you see what happens?
To fix this, rename the script you created.
8 comentarios
John D'Errico
el 11 de En. de 2024
This is perhap one of the ways new users to MATLAB most frequently aground. And then they get a strange error, because MATLAB becomes completely confused. It has no idea what went wrong. The solution is to get used to the idea of not naming your scripts of functions with names already in use. It becomes a habit that you learn, avoiding that. And from then on, the problem goes away, at least for you.
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!