Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Mar 30, 2008
2
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
 
Replies continue below

Recommended for you

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