Where are the PID blocks in the Block-Specific Parameters in order to change parameters of these blocks in a script?
2 ビュー (過去 30 日間)
古いコメントを表示
I am using the PID Controller (2DOF) in a Simulink model. By looking at the Block-Specific Parameters of Simulink, I found that the PID blocks don't appear. I need it because I have to modify the parameters of the PID in a script.
https://es.mathworks.com/help/simulink/slref/block-specific-parameters.html#continuous_lib_blkparams
Any idea before programming manually the PID algorithm by using basics blocks?
0 件のコメント
回答 (1 件)
Suze Zhang
2017 年 9 月 20 日
Hi Enrique,
To view the block specific parameters for PID Controller (2DOF) block, you can select this block in your Simulink model, then use the following command to get a list of block dialog parameters for this block:
>> get_param(gcb, 'DialogParameters')
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!