Borrar filtros
Borrar filtros

Syms suddenly doesnt work

31 visualizaciones (últimos 30 días)
Tobias Dehn Nielsen
Tobias Dehn Nielsen el 6 de Ag. de 2024 a las 19:40
Comentada: Tobias Dehn Nielsen el 7 de Ag. de 2024 a las 13:25
Something what I have done many times and something that is in matlab helt suddently doesnt work? any idea how that is. Link to matlab help site: https://se.mathworks.com/help/symbolic/syms.html, look under "Create Vector of Symbolic Scalar Variables"
syms c [1 4]
And I get this error:
Warning: deprecated syntax used in sym constructor
> In sym (line 156)
In syms (line 56)
Error using assignin
Invalid variable name "[1 4]" in ASSIGNIN.
Error in syms (line 56)
assignin('caller',varargin{i},sym(varargin{i}));

Respuesta aceptada

Walter Roberson
Walter Roberson el 6 de Ag. de 2024 a las 20:04
Line 56 of syms in R2023b is comments -- the comments go to line 97.
Therefore, you are not using the regular syms code.
Perhaps you installed MATLAB Connector for Maple?
  1 comentario
Tobias Dehn Nielsen
Tobias Dehn Nielsen el 7 de Ag. de 2024 a las 13:25
I did install MATLAB Connector for Maple, but i had no clue that it impacted matlab in such a way, really dont think that is clear.

Iniciar sesión para comentar.

Más respuestas (0)

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