hinfsynコマンドで発生するエラーの解決方法
1 view (last 30 days)
Show older comments
hinfsynコマンドを用いて2入力2出力の∞制御器を作成しようとしていますが、 エラー: hinf_st (line 12) fail = 0; 出力引数 "r12" (および他の引数もおそらく) を、"C:\toolbox\robust\rctobsolete\mutools\subs\hinf_st.m>hinf_st" の呼び出し中に代入することはできません。 エラー: hinfsyn (line 170) [p,r12,r21,fail,gmin] = hinf_st(p,nmeas,ncon,gmin,gmax,quiet); というエラーが発生します。このエラーはどうのようにしたら解決できるのでしょうか? 以下に実際のコマンドを示します。 G: 17states 6output 6input [k,g,gf]=hinfsyn(G,2,2,0,1,0.1,2);
0 Comments
Accepted Answer
Yoko
on 14 Nov 2016
メッセージに、hinf_st という関数が下記のディレクトリにあるということのようですが、Cドライブの直下に MATLAB をインストールしていますか?
"C:\toolbox\robust\rctobsolete\mutools\subs\hinf_st.m>hinf_st"
その場合、正しく動作しない可能性がありますので、下記のように、Cドライブ直下ではないディレクトリに再インストールして試してください。
C:\MATLAB\R2016a
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!