Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to trigger the OK bottom of a Start-Interface

Status
Not open for further replies.

wesoto

Civil/Environmental
Joined
Mar 30, 2008
Messages
2
Location
GB
Hi All,

How to trigger the OK bottom of a Start-Interface after running an external program in matlab?

1) I have issued the commond in matlab to run a .exe program:
!D:\MATLAB6.51\work\laucher.exe -b -i D:\TEST_OPT02\input.dat -o d:\output.out

2) then a Start-Interface Frame of the .exe comes out, what to do next is to trigger the OK bottom to make the real program run.

Does anyboby know the next issues in matlab?


Kind regards,

Wesoto
 
Start Button Callback:

set(handles.ok_button,'Enable','Off')
dos('Launch /all photon torpedoes')
set(handles.ok_button,'Enable','On')

when the dos job finishes, the OK-to-Resume button will wake up.

Then you need to tell the OK callback what to do.
 
Thank you mate, I will try it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top