MATLAB: Can MATLAB Fcn block output a bus

matlab fcn bus outputsimulink

I'm trying to use MATLAB Fcn block to output a bus. I can't use an Embedded MATLAB Fcn block for reasons that I would rather not get into now.
Does anyone knows how to do this?

Best Answer

The MATLAB function block is not able to create a bus.
We strongly suggest the use of the Embedded MATLAB function that allows better performances and code flexibility. If you can express your doubts regarding the use of the Embedded MATLAB function we may provide you further assistance.
This command allows you to use any function (not necessarily from Embedded MATLAB subset). This reduces the performance (and is not working for code generation) but allows you to use all MATLAB features.
Related Question