IMXRT 1.2

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

IMXRT 1.2

Jump to solution
1,688 Views
hayaoki7
Contributor IV

Hello

When I installed MBD of I.MXRT of Ver1.2, an error appears when starting simulink.

hayaoki7_1-1619506176628.png

 

Even if it becomes Ver1.2, the date format error is displayed. Does this issue prevent this error from occurring without changing the date format in my MATLAB?

Best regards

 

0 Kudos
Reply
1 Solution
1,640 Views
hayaoki7
Contributor IV

Hello

I typed in the command ‘mbd_imxrt_create_codertarget’. It was a success. I started Simulink and checked the sample. It became normal. The problem has been resolved. Next, let's write the program to the hardware.

Thank you very much.

hayaoki7_0-1619594479121.png

 


Best regards

View solution in original post

0 Kudos
Reply
5 Replies
1,682 Views
nxa11767
NXP Employee
NXP Employee

Hello,

 

Can you please make sure that you don't have a previous version i.MXRT toolbox installed or in your matlab path? That warning with sprintf is should not impact the toolbox functionality.

About that datetime issue, can you please share the error?

Thanks,

Alexandra

0 Kudos
Reply
1,674 Views
hayaoki7
Contributor IV

Hello

ver1.1 remains in the Add-Ons holder. However, ver1.1 is not installed on R2021A. In order to clean it, remove ver1.1 and Ver1.2 from now on, then install ver1.2 again on R2021A and check that an error occurs.

Best regards

0 Kudos
Reply
1,660 Views
hayaoki7
Contributor IV

Hello

I installed it only with i.MXRT toolbox ver1.2. The simulink error is gone. This has been resolved, thank you. Date error also changed to dd-MM-uuuu HH: mm: ss. After changing M from 3 to 2, the error no longer appears.
After that, is this the Target hardware resources of the Hardware implementation in the configuration?
If you change the target to MIMX RT1064, the clock will be 100.
Is it displayed correctly?

hayaoki7_0-1619564882610.png

Best regards

0 Kudos
Reply
1,653 Views
nxa11767
NXP Employee
NXP Employee

Hello,

 

You have an incomplete setup. Did you run the mbd_imxrt_path.m script (that is placed in the toolbox installation folder, in the root). W

That script will create the NXP targets for your matlab version, the output of the script should look like this:

nxa11767_3-1619592127058.png

You should see in the log that the target was created. If you did that and the target was not refreshed then run the script mbd_imxrt_create_codertarget from command line (you should have it in matlab path if you run the above script)

nxa11767_4-1619592528691.png

 

After refreshing the target, you should see something like this in hardware settings when selecting a NPX hw board:

nxa11767_0-1619591333963.png

Best regards,
Alexandra

0 Kudos
Reply
1,641 Views
hayaoki7
Contributor IV

Hello

I typed in the command ‘mbd_imxrt_create_codertarget’. It was a success. I started Simulink and checked the sample. It became normal. The problem has been resolved. Next, let's write the program to the hardware.

Thank you very much.

hayaoki7_0-1619594479121.png

 


Best regards

0 Kudos
Reply