Borrar filtros
Borrar filtros

check if simulation failed

1 visualización (últimos 30 días)
Alex
Alex el 22 de Sept. de 2016
Respondida: Walter Roberson el 23 de Sept. de 2016
Hi all, i want to know, if it is possible to check of the simulation is failed and in that case the programm should not increment a variable in my Callback
example
if (Simulation_Failed == true)
do nothing
end
  1 comentario
Geoff Hayes
Geoff Hayes el 23 de Sept. de 2016
Alex - please provide more details. How is the simulation linked to the GUI? Are you using Simulink?

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de Sept. de 2016
If this is referring to Simulink and using the sim() command, see the CaptureErrors . Or perhaps it is the ReturnErrorsInInput you need; I am seeing information that is confusing about that.
Example the simulation information for ExecutionInfo

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by