Borrar filtros
Borrar filtros

error using the g2s (grad2surf) function on R2024a

1 visualización (últimos 30 días)
noam ginio
noam ginio el 8 de Mayo de 2024
Comentada: noam ginio el 11 de Mayo de 2024
Hello all,
I have used the functions alot on version R2021b and they ran perfect.
When i tried to run it on R2024a and got an error regarding the lyap function (the function g2s calls for g2sSylvester which calls for "lyap" function on line 100).
Just to verify, I ran it again with same variables on the older version and the error disappeared.
Any idea what is causing this and how it can be solved?
As i am using the new DL functions of the later version i would like to keep using the later version
BR
Noam
  1 comentario
Pooja Kumari
Pooja Kumari el 8 de Mayo de 2024
Can you share the screenshot of exact error you are getting?

Iniciar sesión para comentar.

Respuestas (1)

John D'Errico
John D'Errico el 8 de Mayo de 2024
Movida: John D'Errico el 8 de Mayo de 2024
Odds are, you don't have lyap on that installation.
which lyap -all
/MATLAB/toolbox/control/control/lyap.m
It is part of the control toolbox. So if you had a license for that TB on the old installation, but not on the 2024a installation, it would fail. We need to see the error message you got to be more sure.
You can check though. Use the command
ver
on those systems, and I expect you will see one has the control TB and the other lacks it.

Categorías

Más información sobre Power and Energy Systems en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by