Azzera filtri
Azzera filtri

how to generate null pointer check in simulink model

6 visualizzazioni (ultimi 30 giorni)
i'm converting C code into Matlab simulink model. How can I implement NULL pointer check in simulink model and generate codes that does NULL pointer test?
How to generate this if(var1 != NULL_PTR) in simulink model and generate code similarly from model.
void sample(uint8 *var1)
{
if(var1 != NULL_PTR)
{
/* Do Something */
}
}

Risposte (0)

Categorie

Scopri di più su AUTOSAR Blockset in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by