block_diagram does not have a parameter named 'PortHandles'

99 ビュー (過去 30 日間)
shankar
shankar 2012 年 10 月 8 日
回答済み: Melih 2023 年 12 月 5 日
how to solve this error "block_diagram does not have a parameter named 'PortHandles'"

回答 (4 件)

Kaustubha Govind
Kaustubha Govind 2012 年 10 月 8 日
When do you see this error? Are you using the GET_PARAM command to get the PortHandles? If yes, the first argument must be the path or handle to a block, and not the root model.

sourav  malla
sourav malla 2019 年 6 月 17 日
You can use the 'porthandles' in the following way to get the block parameter value.
BlockParameterValue = get_param('untitled2/enable','PortHandles')
The above statement basically will return the PortHandles block parameter value from the model 'untitled2' and enable block.

Murugesan D
Murugesan D 2022 年 1 月 12 日
block_diagram does not have a parameter named 'Kp
This is the result . i got when i am running the code for fractional order pid controller
Kindly reply

Melih
Melih 2023 年 12 月 5 日
Save models, bdclose all, reopen model

カテゴリ

Help Center および File ExchangeCreate Large-Scale Model Components についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by