block_diagram does not have a parameter named 'PortHandles'

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

Answers (4)

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.
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.
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

Categories

Find more on Modeling in Help Center and File Exchange

Products

Tags

Asked:

on 8 Oct 2012

Answered:

on 5 Dec 2023

Community Treasure Hunt

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

Start Hunting!