how to generate null pointer check in simulink model
5 views (last 30 days)
Show older comments
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 */
}
}
0 Comments
Answers (0)
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!