write two inputs to interpreted MATLAB block

I have a problem: I have entered data to the interpreted Matlab Fcn block, however the script only manages to write the first data, the first variable ('a'), how could I get the writing of the other data ('b'). I attach images.

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 23 de Jul. de 2021

0 votos

Specify as "mod1(u(1),u(2))". Look at the Help of the block.

Más respuestas (0)

Categorías

Productos

Versión

R2019a

Preguntada:

el 22 de Jul. de 2021

Editada:

el 23 de Jul. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by