How can i create a function block in simulink that takes multiple input vectors as arguments?
35 ビュー (過去 30 日間)
古いコメントを表示
From the image attached the function block uses u(u[1])t input u[2] from second input, etc. I keep getting errors if i implement it as shown using a Matlab function block
0 件のコメント
採用された回答
Fangjun Jiang
2022 年 12 月 2 日
Assume the same input, inside the MATLAB Function block, use u(1), u(2) to reference, not u[1], u[2].
2 件のコメント
Fangjun Jiang
2022 年 12 月 2 日
It is defined that way.
See "doc paren" to know the usage of (), {}, []
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!