ControlSystemDesigner displays empty graphs

8 ビュー (過去 30 日間)
Fernando Lopez
Fernando Lopez 2023 年 3 月 21 日
コメント済み: Sam Chak 2023 年 3 月 21 日
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)

回答 (1 件)

Sam Chak
Sam Chak 2023 年 3 月 21 日
編集済み: Sam Chak 2023 年 3 月 21 日
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 件のコメント
Fernando Lopez
Fernando Lopez 2023 年 3 月 21 日
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 2023 年 3 月 21 日
Hi @Fernando Lopez, the Control System Designer App can be opened on MATLAB Online. Have you tried whether it works after restarting your computer?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeClassical Control Design についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by