Model-Based Design Toolbox compile error in Simulink

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Model-Based Design Toolbox compile error in Simulink

1,065 次查看
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 项奖励
回复
1 回复

992 次查看
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 项奖励
回复