how to call a m-file in order to click on a pushbutton in gui ?

Status
Not open for further replies.

phoibos323

Newbie level 4
Joined
Feb 21, 2010
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,333
I need to call a m-file when I press a pushbutton in gui ? How can I manage. I tried

run scriptname

but it doesn't work, there is no variables appear in workspace after running the gui and pressing the pushbutton. There is no errors by the way in the command line.

Thanks.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…