Info
This question is closed. Reopen it to edit or answer.
Simulink block for input validation
1 view (last 30 days)
Show older comments
In my current project I am trying to generate an access function (getter) to certain parameter. The Coder outputs something like:
void MyModelGetMyParam(u8 *rty_y) { *rty_y = SomeStruct->myParam; }
As it can be seen, there are no NULL pointer checks for both SomeStruct and rty_y.
How could I achieve input validation in such cases (i.e. have it generated)?
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!