Model-Based Design Toolbox compile error in Simulink

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Model-Based Design Toolbox compile error in Simulink

644 Views
victor_song_171
Contributor III

I try to use MBDT in matlab ,when build ,error report like below:

pastedImage_1.png

Any assistance would be appreciated.

0 Kudos
Reply
1 Reply

571 Views
constantinrazva
NXP Employee
NXP Employee

Hello victor_song_171819@163.com‌,

It seems to be a problem due to having a space in the path; it takes as sysroot a different file path (one that does not exist). 

To fix this, either delete the space from your path and reinstall the toolbox (to have the correct paths, the new ones), either go to 

{Install ROOT}\mbdtbx_s32k14x\mbdtbx_s32k14x

and replace 

mbd_s32k14.tmf file

with the one attached here.

This has 

TOOL_LIB += -specs=nosys.specs --sysroot="$(TOOL_ROOT)/arm-none-eabi/newlib" -lm

on the 267 line, so now it should contain the correct path, even with the space.

Kind regards,

Razvan.

0 Kudos
Reply