To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
I have written a .m file which is performing some operations. Now i want to to execute the .m file that i created through the push button control... When i'l press the button my .m-file will be called and it will be executed.... So how do i achieve this?
Did you create a button in GUIDE already? Then append a callback function there also. It could have a name like this:
function button1_Callback(ObjectH, EventData)
Then all the code you need is the name of your function. Insert it in the callback, save the file and your are ready.