write two inputs to interpreted MATLAB block

1 次查看(过去 30 天)
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.

采纳的回答

Fangjun Jiang
Fangjun Jiang 2021-7-23
Specify as "mod1(u(1),u(2))". Look at the Help of the block.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by