I created two different array consists of x and y positions for a robot end-effector. How can I use this points as an input to the simulink model ?
Best Answer
if x and y are vectors available in the workspace, (with a time vector corresponding), you can simply use a FromWorkspace block to use these data as input of your model.
I suppose you could use theInput parameters to specify inputs with the ExternalInput property. You might also want to set 'SrcWorkspace' to 'current' if you want Simulink to look for those input variables in the calling function's workspace.
Best Answer