AnsweredAssumed Answered

MATLAB/Simulink STM32MatTarget blocks generate warnings regarding NARGCHK function

Question asked by michaeL on Jan 19, 2017
Latest reply on Feb 6, 2017 by Nesrine M

For evaluation purposes I created a MATLAB/Simulink model which uses the STM32MatTarget 4.4.0 blocks.

With the MATLAB/Simulink version R2016b I get a lot of warning messages (around 160 with a small model):

 

Warning: NARGCHK will be removed in a future release. Use NARGINCHK or NARGOUTCHK instead.

 

How do I fix these warnings?

Where is the code located, which generates these warnings?

 

The deprecated function to check the number of arguments ("nArgChk") is describet at

https://de.mathworks.com/help/matlab/ref/nargchk.html.

Outcomes