ControlSystemDesigner displays empty graphs

10 visualizzazioni (ultimi 30 giorni)
Fernando Lopez
Fernando Lopez il 21 Mar 2023
Commentato: Sam Chak il 21 Mar 2023
I am trying to use the function, controlSystemDesigner for my control systems class but unfortunately it is not working. I have used it several times before and it would display the graphs just fine but as of today it will load and open a new window however it just displays empty graphs and gives me an error code as shown below. Any assistance is greatly appreciated. I am using Matlab Online for reference.
G = tf([1],[1 2 -3])
controlSystemDesigner(G)

Risposte (1)

Sam Chak
Sam Chak il 21 Mar 2023
Modificato: Sam Chak il 21 Mar 2023
Update: The Control System Designer App can be opened. The Toolbox and the function have no issue. Have you tried whether it works after restarting your computer?
The controlSystemDesigner() is under the Control System Toolbox. Can you check if other tools work? For example, the pidtune() function.
G = tf([1], [1 2 -3])
G = 1 ------------- s^2 + 2 s - 3 Continuous-time transfer function.
Gc = pidtune(G, 'PIDF')
Gc = 1 s Kp + Ki * --- + Kd * -------- s Tf*s+1 with Kp = 35.8, Ki = 24.8, Kd = 8.98, Tf = 0.0194 Continuous-time PIDF controller in parallel form.
Gcl = feedback(Gc*G, 1)
Gcl = 499.4 s^2 + 1871 s + 1281 ------------------------------------------- s^4 + 53.61 s^3 + 599.7 s^2 + 1716 s + 1281 Continuous-time transfer function.
step(Gcl)
  2 Commenti
Fernando Lopez
Fernando Lopez il 21 Mar 2023
Hello @Sam Chak, thank you for responding. I input the code you sent and it did indeed work perfectly. Attemtped running controlSystemDesigner once more but still seem to be having the same issue. Have been trying to search the help center but I can not seem to find any other example of an issue similar to mine.
Sam Chak
Sam Chak il 21 Mar 2023
Hi @Fernando Lopez, the Control System Designer App can be opened on MATLAB Online. Have you tried whether it works after restarting your computer?

Accedi per commentare.

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by