I have a sine wave,in which i have take positive curve(upper curve), now if i click anywhere in that graph i want to display values of x,y,using gui ,please help
Your GUI consists of two files: mygui.fig and mygui.m If you call the function mygui.m from simulink, your GUI will pop up. Look for user defined function block and make a call to your mygui.m. Take into account that if you do not set the right means for it, your gui will be called every sample time, which means many times. Watch out for that.
Best Answer