Syms suddenly doesnt work
31 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Tobias Dehn Nielsen
le 6 Août 2024 à 19:40
Commenté : Tobias Dehn Nielsen
le 7 Août 2024 à 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}));
0 commentaires
Réponse acceptée
Walter Roberson
le 6 Août 2024 à 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?
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Number Theory dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!