write two inputs to interpreted MATLAB block

2 ビュー (過去 30 日間)
Edgar Ahh
Edgar Ahh 2021 年 7 月 22 日
編集済み: Edgar Ahh 2021 年 7 月 23 日
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 Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by