Getting error in Model Based Design Toolbox for S32K series with MATLAB 2013b

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

Getting error in Model Based Design Toolbox for S32K series with MATLAB 2013b

ソリューションへジャンプ
1,189件の閲覧回数
hemantsindkar
Contributor III

Hi,

I am using Model Based Design Toolbox for S32K series with MATLAB 2013b. When I try to build sample "program mbd_s32k14_examples", I am getting error. 

pastedImage_3.png

How to fix this error?

Thanks

Hemant

1 解決策
1,045件の閲覧回数
hemantsindkar
Contributor III

Hi Daniel,

Yes I observed after fixing one error other error comes in 2013b. So I updated my MATLAB with 2017a. Now it's working fine.

Thanks

Hemant

元の投稿で解決策を見る

2 返答(返信)
1,045件の閲覧回数
Daniel_Popa
NXP Employee
NXP Employee

Hi hemantsindkar‌,

The Model Based Design Toolbox for S32K has been tested with Matlab releases starting with 2015b to 2017a

We usually support the last 4 Matlab releases - since Mathworks is constantly changing code generation with various improvements that sometimes breaks the backward compatibility.

Nonetheless, in case you can't update to a newer version there is a way to make the 2013b release to work with S32K.

In this particular case  the problem is cause by the Code Replacement Library that is set to NONE. All you have to do is to open the Simulink model and go to Model Configuration Parameters -> Code Generation -> Interface and there on the Code Replacement Library options to choose an ARM Cortex type.

Capture.JPG

This will allow you to build the models.

Anyhow - please be aware that you might run into other potential issues (we will try to support you as much as we can) by staying with Matlab 2013b release. 

Hope this helps!

Daniel

0 件の賞賛
返信
1,046件の閲覧回数
hemantsindkar
Contributor III

Hi Daniel,

Yes I observed after fixing one error other error comes in 2013b. So I updated my MATLAB with 2017a. Now it's working fine.

Thanks

Hemant