Having Problems when deploying to hardware [MATLAB]

04 Jul 2016

Hi all, hope I'm in the right place to ask a question as I'm pretty lost here and starting new on this field. Just joined NXP Cup for this year and plan to use MATLAB Simulink to design the solution but there seems to be a lot of problems in using the Simulink.

As I was going through the FRDM-KL25Z examples on Simulink, all of the examples weren't able to deploy into the hardware and keep prompting me error.

1. MATLAB prompting me that the directory didn't include most of the H files (header file I suppose?) and I went around and downloaded them from the internet. (I supposed all the H files should come with the installation package but no.) [FIXED]

2. After all the H files are installed, an error prompted FILE DIR/TOOLCHAIN_GCC_ARM/libmbed.a' needed by... /media/uploads/wjlee24/error.png

I'm kinda lost here as I'm keep fixing these errors nonstop for several days without progressing. Hopefully I'm in the right place for the answer. Thanks!