Constantin Razvan Chivu

HotFix: MBD Toolbox for Kinetis

Discussion created by Constantin Razvan Chivu Employee on Feb 16, 2018
Latest reply on May 29, 2019 by Paul Vlase

HotFix_1: Fix "Undefined function 'slsfnagctlr'..." when trying to generate code on R2017b


Problem: If you try to generate code for any model on R2017b, you will receive this error: "Undefined function 'slsfnagctlr' for input arguments of type 'char'." 


Root Cause: Matlab API change.


Workaround:  Move slsfnagctlr.p file (attached in the zip) in the following folder 


{Toolbox install dir}\mctbx_kv*xf\mctbx_kv*xf\mscripts 


note:* is used as a placeholder for 3/4/5/10 (if you have KV3, KV4, KV5,etc.)