Hi, I am designed a simulink program whose handle position and cursor position are at different place. I just wonder how can I get the x ,y position of cursor.
1 Answers
Hi Yihui Xu,
If you look at the vcode of the cursor, x and y are the 3rd and 4th element of the vector.
For more on what different parts of a vcode mean, you can look inside the code of a Show Target block or see section 10.7 of our Creating Task Programs for Dexterit-E 3.7 guide.
Please login or Register to submit your answer