simulink crush with external c code

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.

Antworten (1)

Angelo Yeo
Angelo Yeo am 26 Dez. 2023

0 Stimmen

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.

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021a

Gefragt:

am 24 Dez. 2023

Beantwortet:

am 26 Dez. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by