code replacement of sigabrt

15 visualizzazioni (ultimi 30 giorni)
Allan Baker
Allan Baker il 22 Giu 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?

Risposte (0)

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by