Control function during execusion with command line

9 Ansichten (letzte 30 Tage)
TheKawasakifan
TheKawasakifan am 20 Mär. 2015
Hi,
is there a way to control and stop a function with the command line? How can I create an interface to the user? Using 'disp()' it is easy to display Error and Execusion messages, but there is no way, to control the function process.
For example, I want to display: 'The statistics of your function are [..]. Do you want to proceed? [Y/N]'
The only way to stop a running function, which I know, is the close the whole programm. It is possible, the create a complete GUI to control a function execusion, but I am looking for a more simple way.
best regards

Antworten (0)

Kategorien

Mehr zu Multibody Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by