I am trying to get bus data in and out of matlab function block in simulink. Here's a simple model I have tried to test to it out:
The function is defined as :
I have created a simulinkBus; "x" as shown in the image below:
But I keep getiing this error, when I run my model:
What am I doing wrong here?