Hi,
I was following the QSG and testing the Hello World as shown in section 2.3.
However when I press the "build" icon, I have the following error:
Hello marcuslim,
Can you open the Options menu from that model and go to Code generation tab? I'd like to know what is selected as System target file. It should be mbd_s32k14.tlc. Something different might trigger such an error.
Kind regards,
Razvan.
Hi Razvan,
Any comments?
Regards,
Marcus
Hi marcuslim,
Can you check if you have Embedded Coder toolbox? You can run ver command in the Matlab console to list all Matlab toolboxes installed.
Hello marcuslim,
First of all, please confirm that you have embedded coder toolbox - as Paul asked. I think it's impossible that you do not have that toolbox, having the code generation options available and the build model button, but just to make sure.
Secondly, as I can not reproduce in my setup your problem, I will be sending you a file for you to replace and send me back the output after you build a model. Maybe I can figure out what is wrong this way, on your setup.
Kind regards,
Razvan.
Hello marcuslim,
I have attached here a file for you to change, but first make a backup of the file you currently have, so you can revert it back later. You can just rename it with _backup.
Replace the following file:
{MBDT_ROOT_DIR}\mbdtbx_s32k14x\mbdtbx_s32k14x\mbd_s32k14_make_rtw_hook.m
After replacing this file, please run a model and give me the output from Diagnostic Viewer.
Note: to open Diagnostic Viewer, just click the View button - you can find it center-down from in your model, as highlighted here:
Save that output in a .txt file and put it here.
Kind regards,
Razvan.
Hi Razvan,
Sad to say, no…
Still having error per my last diagnostic info.
Kind Regards,
Marcus Lim
Hello marcuslim,
I see no diagnostic file - only immage001.gif file. Could you please check and re-upload ?
Kind regards,
Razvan.
Hi Razvan,
Thanks for your guide !
After checking further, with the license file updated, the last mentioned error is gone.
It is now settled.
Thanks once again!
Kind Regards,
Marcus Lim