×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to trigger the OK bottom of a Start-Interface

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

RE: How to trigger the OK bottom of a Start-Interface

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.

RE: How to trigger the OK bottom of a Start-Interface

(OP)
Thank you mate, I will try it!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources