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 Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by