MATLAB: How to Configure simulink out-ports to generate specific argument of function

code generationEmbedded Codersimulink

So I want to generate the code for a function where it gives the argument as shown in the image below. So what configuration should be done in simulink outports to get argument as this?
fx_im.PNG

Best Answer

Hello Amit,
How do you use model referencing?
You can add arguments by using a model reference and setting the storage class of the output to Auto.
By the way, the next document is the contents of R2019b.
Regards,
stozaki