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 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