block_diagram does not have a parameter named 'PortHandles'

how to solve this error "block_diagram does not have a parameter named 'PortHandles'"

답변 (4개)

Kaustubha Govind
Kaustubha Govind 2012년 10월 8일

0 개 추천

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일

0 개 추천

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일

0 개 추천

Save models, bdclose all, reopen model

카테고리

도움말 센터File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품

태그

질문:

2012년 10월 8일

답변:

2023년 12월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by