code replacement of sigabrt

조회 수: 15 (최근 30일)
Allan Baker
Allan Baker 2019년 6월 22일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by