simulink crush with external c code

10 views (last 30 days)
Kiek Alexander
Kiek Alexander on 24 Dec 2023
Answered: Angelo Yeo on 26 Dec 2023
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.

Answers (1)

Angelo Yeo
Angelo Yeo on 26 Dec 2023
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.

Categories

Find more on Modeling in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!