Parameters of FunctionCall block in Simulink

4 Ansichten (letzte 30 Tage)
Dingguo Lu
Dingguo Lu am 24 Mär. 2023
Beantwortet: Fangjun Jiang am 24 Mär. 2023
Usually, we can use matlab command get_param(object,parameter), in order to extract the parameters of a simulink block.
For Functioncaller block in simulink, what Block (Type)/Parameter can we use in the command, in order to read out information of FunctionCaller, like Function Prototype, Input argument specification, and Ouput argument specifications, respecively?

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 24 Mär. 2023
Click "Help" to bring up the document. It is there.
get_param(gcb,'FunctionPrototype')
'InputArgumentSpecifications'
'OutputArgumentSpecifications'

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by