MATLAB: SL MATALB function block a bus-capable block

bus-capablematlab function blocksimulink

Hi, I'm trying to extract some parameters (2 out of 7) from a bus signal and use them in my code in the MATLAB function block. The error message tells me the input port (to the MATLAB function block) expects a non-bus signal.
Do I need a bus selector or change some properties on the block or another solution ?

Best Answer

Please read the documentation on how to create bus signal inputs to MATLAB Function blocks.