How can i create a function block in simulink that takes multiple input vectors as arguments?
67 次查看(过去 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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!