MBD toolbox如何与MATLAB连接?

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

MBD toolbox如何与MATLAB连接?

1,006 Views
scottzhang
Contributor I

参考文档上有下面这句话:

1.2.5 Setting the Path for Model Based Design Toolbox
For MALAB to recognize the Model Based Design Toolbox, the path needs to be setup in the
MATLAB environment. This is done by navigating the MATLAB Current Directory to the
MBD Toolbox/mbdtbx_S32K installation directory and running the “
mbd_s32k_path
script.
>> mbd_s32k_path
Treating 'D:\MBD_Toolbox\mbdtbx_S32K' as MBD Toolbox installation
root.
MBD Toolbox path prepended.
Successful.
>>

不知道如何操作的?

0 Kudos
2 Replies

753 Views
dumitru-daniel_
NXP Employee
NXP Employee

Ni Hao, 

I'm not sure if I've understood your question correctly but here are the steps you need:

#1: Go to the folder where the mbd_s32K_path.m file exists

#2: Right click on the file and select RUN

pastedImage_1.png

#3: In the MATLAB command line you should be able to see:

pastedImage_2.png

If you need to check if the NXP Toolbox has been added to the MATLAB paths, then please use the Set Path button to open the available paths dialogue:

pastedImage_3.png

Hope this helps!

Daniel

0 Kudos

753 Views
scottzhang
Contributor I

Get it , Thanks!

0 Kudos