code replacement of sigabrt

15 visualizaciones (últimos 30 días)
Allan Baker
Allan Baker el 22 de Jun. de 2019
Generating embedded C code that can be run instide a C++ simulation.
Would like the embedded C code to "crash" gracefully so that the higher level simulation can terminate correctly and allow a debug option to be set inside the C-code to view the program at the point of failure.
What are my options? Can the embedded C-code use code replacement to change the abort function call to raise another signal that could be caught by the calling C++ program?

Respuestas (0)

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by