From: Gayan on
Hi,

I'm trying to move my mouse pointer using the MATLAB, and following the example given, I wrote a function.
http://www.mathworks.com/support/solutions/en/data/1-2X10AT/index.html?solution=1-2X10AT

Unfortunately this method requires importing a java class.

import java.awt.Robot;

When I try to integrate the code in side a function block it gives an error since I can t use an import statement inside the function.

SO can anyone please tell me how to control mouse pointer position using simulink.

Thanks in Advance

Gayan