block_diagram does not have a parameter named 'PortHandles'
99 次查看(过去 30 天)
显示 更早的评论
how to solve this error "block_diagram does not have a parameter named 'PortHandles'"
0 个评论
回答(4 个)
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.
0 个评论
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.
0 个评论
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Create Large-Scale Model Components 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!