Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
Farzam Malmir
Farzam Malmir le 20 Mai 2018
Commenté : Farzam Malmir le 21 Mai 2018
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?

Réponse acceptée

Chris Portal
Chris Portal le 21 Mai 2018
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:

Plus de réponses (0)

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by