Can you explain this Embedded MATLAB Function error?
I'm having a problem sending a value from a GUI to an Embedded MATLAB Function (EMF) in a Simulink model. I get this value from a slider in my GUI and send it to an EMF block in my model. I can confirm that the value is being transferred correctly from my GUI to my Simulink block, since I can display the value with a display block in my model and see the value change when I change the slider position in my GUI. However I keep getting this error when I run my model: Could not determine the size of this expression. Function 'Kastl' (#18.282.283), line 14, column 1: "f" This is part of my EMF