Parameters of FunctionCall block in Simulink

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

0 votos

Click "Help" to bring up the document. It is there.
get_param(gcb,'FunctionPrototype')
'InputArgumentSpecifications'
'OutputArgumentSpecifications'

Categorías

Más información sobre Simulink Functions en Centro de ayuda y File Exchange.

Productos

Versión

R2022a

Preguntada:

el 24 de Mzo. de 2023

Respondida:

el 24 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by