code replacement of sigabrt

15 views (last 30 days)
Allan Baker
Allan Baker on 22 Jun 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?

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!