Hi,
I'm beginning to develop my master project on model-based design using a FRDM-KV31F board and will switch to the TWR-KV58F220M later. I’m using MATLAB R2018b with all the required products specified on the MBD NXP site.
To start, I ‘tried some examples that came with the Kinetis MCToolbox and nothing works. On every example, I get :
Undefined function 'slsfnagctlr' for input arguments of type 'char'.
As mentioned in another post, old version of the Motor Control Toolbox don’t support the latest version of MATLAB.
Is there a fix on that problem?
Bruno T.
Solved! Go to Solution.
Hello brunotremblay,
For newer versions of MATLAB you need to get the patch available here.
Kind regards,
Razvan.
Hello Constantin,
The patch works fine. Thanks for the help.
Now I'm trying the ADC example and I get a strange message.
Hello brunotremblay,
Can you run the following command in MATLAB terminal and share it's output?
getenv('GCC_ARM_TOOL')
And also this one?
mcd_find_kv_root
Kind regards,
Razvan.
Hello Constantin Razvan Chivu,
The output is :
>> getenv('GCC_ARM_TOOL')
ans =
'C:\Freescale\KDS_v3\Toolchain\arm-none-eabi\bin'
>> mcd_find_kv_root
ans =
'C:\Users\Bruno\Documents\MATLAB\MCToolbox\mctbx_Kinetis'
Regards,
Bruno
Hello brunotremblay,
For newer versions of MATLAB you need to get the patch available here.
Kind regards,
Razvan.