Hello,
I set up the cosimulation from the tutorial (inverted pendulum). In the end, it worked and I could adjust both, matlab and hyperworks Model for a SISO-control design.
However, I fail to set up a co-simulation with my own model. I tried to connect a Hyperworksmodel (revolution shaft cam from the motionview tutorial) with a matlab model (providing just a sine offset and one output).
By running the motionsolve model and creating an xml file for the matlab input, I receive the weird output:
Error reported by S-function 'mscosim' in '
simulinkMNModel/S-Function1': Error running MotionSolve model. Matlab Error Code: -300
Both models are attached. I don't know how to resolve this error.
Do you have any clue? Thank you.
Blumi