Parameters of FunctionCall block in Simulink

4 visualizaciones (últimos 30 días)
Dingguo Lu
Dingguo Lu el 24 de Mzo. de 2023
Respondida: Fangjun Jiang el 24 de Mzo. de 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?

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 24 de Mzo. de 2023
Click "Help" to bring up the document. It is there.
get_param(gcb,'FunctionPrototype')
'InputArgumentSpecifications'
'OutputArgumentSpecifications'

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by