Export MBDT generated code from Matlab to S32DS

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

Export MBDT generated code from Matlab to S32DS

609件の閲覧回数
rohit1749
Contributor III

I have generated code using MBDT with Matlab v2021b. However, after generating code using embedded coder and tried to import the projectinfo.xml file to s32DS. But getting below error.

 

rohit1749_0-1754737246050.png

I'm using S32DS V3.5.  Should I try changing the S32DS version?

Someone, please help me with this.

Regards

Rohit

 

0 件の賞賛
返信
1 返信

560件の閲覧回数
dragostoma
NXP Employee
NXP Employee

Hi, @rohit1749

Following the build process of your Simulink model and the subsequent code generation, the next step is to import the modelName_Config folder into S32 Design Studio (S32DS).

dragostoma_3-1754915678432.png

You should pres File -> Import

dragostoma_1-1754914571813.png

General -> Existing Project into Workspace -> Browse -> select the modelName_Config folder

dragostoma_2-1754914740313.png

Then you should be able to build and debug the application in S32DS.

Let us know about your progress.

 

Best regards,

Dragos

 

%3CLINGO-SUB%20id%3D%22lingo-sub-2149492%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMBDT%E3%81%A7%E7%94%9F%E6%88%90%E3%81%95%E3%82%8C%E3%81%9F%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92Matlab%E3%81%8B%E3%82%89S32DS%E3%81%AB%E3%82%A8%E3%82%AF%E3%82%B9%E3%83%9D%E3%83%BC%E3%83%88%E3%81%99%E3%82%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2149492%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EMatlab%20v2021b%20%E3%81%A7%20MBDT%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E7%94%9F%E6%88%90%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E3%81%9F%E3%81%A0%E3%81%97%E3%80%81%E7%B5%84%E3%81%BF%E8%BE%BC%E3%81%BF%E3%82%B3%E3%83%BC%E3%83%80%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%82%B3%E3%83%BC%E3%83%89%E3%82%92%E7%94%9F%E6%88%90%E3%81%97%E3%81%9F%E5%BE%8C%E3%80%81projectinfo.xml%20%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%20s32DS%20%E3%81%AB%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E3%81%97%E3%81%8B%E3%81%97%E3%80%81%E3%82%A8%E3%83%A9%E3%83%BC%E3%82%92%E4%B8%8B%E5%9B%9E%E3%81%A3%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22rohit1749_0-1754737246050.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22rohit1749_0-1754737246050.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F351647i3B752AE0C9F5AD27%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22rohit1749_0-1754737246050.png%22%20alt%3D%22rohit1749_0-1754737246050.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ES32DS%20V3.5%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82S32DS%E3%81%AE%E3%83%90%E3%83%BC%E3%82%B8%E3%83%A7%E3%83%B3%E3%82%92%E5%A4%89%E6%9B%B4%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B%3F%3C%2FP%3E%3CP%3E%E8%AA%B0%E3%81%8B%E3%80%81%E3%81%93%E3%82%8C%E3%82%92%E6%89%8B%E4%BC%9D%E3%81%A3%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%3CP%3E%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%E3%83%AD%E3%83%92%E3%83%83%E3%83%88%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2150099%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Export%20MBDT%20generated%20code%20from%20Matlab%20to%20S32DS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2150099%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251996%22%20target%3D%22_blank%22%3E%40rohit1749%3C%2FA%3E%E3%81%95%E3%82%93%3C%2FP%3E%0A%3CP%3ESimulink%20%E3%83%A2%E3%83%87%E3%83%AB%E3%81%AE%E3%83%93%E3%83%AB%E3%83%89%20%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%E3%81%A8%E3%81%9D%E3%82%8C%E3%81%AB%E7%B6%9A%E3%81%8F%E3%82%B3%E3%83%BC%E3%83%89%E7%94%9F%E6%88%90%E3%81%AB%E7%B6%9A%E3%81%84%E3%81%A6%E3%80%81%E6%AC%A1%E3%81%AE%E6%89%8B%E9%A0%86%E3%81%A7%E3%81%AF%3CCODE%20translate%3D%22no%22%3EmodelName_Config%3C%2FCODE%3E%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%83%BC%E3%82%92%20S32%20Design%20Studio%20(S32DS)%20%E3%81%AB%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dragostoma_3-1754915678432.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dragostoma_3-1754915678432.png%22%20style%3D%22width%3A%20377px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F351807i26592EB156538D64%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22dragostoma_3-1754915678432.png%22%20alt%3D%22dragostoma_3-1754915678432.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%20-%26gt%3B%20%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88%E3%82%92%E6%8A%BC%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dragostoma_1-1754914571813.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dragostoma_1-1754914571813.png%22%20style%3D%22width%3A%20229px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F351803i05CDC8DC16F9AE1E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22dragostoma_1-1754914571813.png%22%20alt%3D%22dragostoma_1-1754914571813.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E4%B8%80%E8%88%AC%20-%26gt%3B%20%E6%97%A2%E5%AD%98%E3%81%AE%E3%83%97%E3%83%AD%E3%82%B8%E3%82%A7%E3%82%AF%E3%83%88%E3%82%92%E3%83%AF%E3%83%BC%E3%82%AF%E3%82%B9%E3%83%9A%E3%83%BC%E3%82%B9%E3%81%B8%20-%26gt%3B%20%E5%8F%82%E7%85%A7%20-%26gt%3B%20%3CCODE%20translate%3D%22no%22%3EmodelName_Config%3C%2FCODE%3E%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%82%92%E9%81%B8%E6%8A%9E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dragostoma_2-1754914740313.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dragostoma_2-1754914740313.png%22%20style%3D%22width%3A%20376px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F351804i6E3BBEEECC33E501%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22dragostoma_2-1754914740313.png%22%20alt%3D%22dragostoma_2-1754914740313.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E3%81%9D%E3%81%AE%E5%BE%8C%E3%80%81S32DS%20%E3%81%A7%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%92%E3%83%93%E3%83%AB%E3%83%89%E3%81%8A%E3%82%88%E3%81%B3%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E3%81%AA%E3%82%8A%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E9%80%B2%E6%8D%97%E7%8A%B6%E6%B3%81%E3%82%92%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E3%82%88%E3%82%8D%E3%81%97%E3%81%8F%E3%81%8A%E9%A1%98%E3%81%84%E3%81%84%E3%81%9F%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%0A%3CP%3E%E3%83%89%E3%83%A9%E3%82%B4%E3%82%B9%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E