block_diagram does not have a parameter named 'PortHandles'

22 visualizzazioni (ultimi 30 giorni)
how to solve this error "block_diagram does not have a parameter named 'PortHandles'"

Risposte (4)

Kaustubha Govind
Kaustubha Govind il 8 Ott 2012
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 il 17 Giu 2019
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 il 12 Gen 2022
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 il 5 Dic 2023
Save models, bdclose all, reopen model

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by