block_diagram does not have a parameter named 'PortHandles'
Mostrar comentarios más antiguos
how to solve this error "block_diagram does not have a parameter named 'PortHandles'"
Respuestas (4)
Kaustubha Govind
el 8 de Oct. de 2012
0 votos
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
el 17 de Jun. de 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
el 12 de En. de 2022
0 votos
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
el 5 de Dic. de 2023
0 votos
Save models, bdclose all, reopen model
Categorías
Más información sobre Programmatic Model Editing en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!