Linking of mfile with simulink model...

1 次查看(过去 30 天)
How to link the block of matlab function for multiple input and output from simulink model??? It is running for single input variable only.

采纳的回答

Fangjun Jiang
Fangjun Jiang 2011-9-24
Are you talking about the "MATLAB Function" block in the new release? Like the one in this link? http://www.mathworks.com/help/toolbox/simulink/slref/matlabfunction.html
If you define your function to have multiple input arguments and multiple output arguments, those input arguments and output arguments will show up as inports and outports on the block.

更多回答(0 个)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by