How to trigger the OK bottom of a Start-Interface
How to trigger the OK bottom of a Start-Interface
(OP)
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
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





RE: How to trigger the OK bottom of a Start-Interface
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.
RE: How to trigger the OK bottom of a Start-Interface