How to pause/stop a Simulink model directly from App designer

15 ビュー (過去 30 日間)
Farzam Malmir
Farzam Malmir 2018 年 5 月 20 日
コメント済み: Farzam Malmir 2018 年 5 月 21 日
Hi,
I have already designed an application to initialize and run a Simulink model directly through App designer. I need to define a pause or stop button in order to pause or stop the model while running. Does anyone know what command I can use for this purpose?

採用された回答

Chris Portal
Chris Portal 2018 年 5 月 21 日
You can do this by using the set_param and get_param functions to configure the SimulationCommand setting for your model. This doc page describes how to do this:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Environment Customization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by