simulink crush with external c code

12 次查看(过去 30 天)
when i use coder.ceval to run a c code in my simulink model, the model sometimes runs but sometimes crush immidiately, and i do not know why. the c code can run perfectly by itself. but when it is used in simulink, there are many problems and espesically i run it well today and close my computer, tomorrow will crush again without any changes in the c code and simulink settings.

回答(1 个)

Angelo Yeo
Angelo Yeo 2023-12-26
The issue sounds very specific to the model and code. It's hard to investigate the issue without its crash report and reproduction steps. Please reach out to technical support if the issue persists.

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by