Model-Based Design Toolbox compile error in Simulink

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Model-Based Design Toolbox compile error in Simulink

1,100件の閲覧回数
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 返信

1,027件の閲覧回数
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 件の賞賛
返信