Build Toolbox Example on MATLAB SIMULINK - FlexCAN example.

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

Build Toolbox Example on MATLAB SIMULINK - FlexCAN example.

1,264 Views
D_D97
Contributor II

Hello,

I am facing a problem when attaching the flexcan module toolbox items, something with the tlc file. even when I attach the example of (FCAN Interrupts) into an empty simulink project. it still gives me the following error : 

Error: Inside: EXPRESSION Line: 1 Column: 3 File: C:\Users\DD\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\NXP_MBDToolbox_IMXRT1xxx\mbdtbx_imxrt\blocks\fcan\imxrt_fcan.tlc Line: 51 Column: 11 syntax error




The TLC file couldn't be attached, so I have attached a screenshot instead.
Thank you.

0 Kudos
Reply
3 Replies

1,251 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @D_D97 ,

Thanks for your interest in NXP products!

There is a dedicated sub-forum for MBDT related questions, can you submit your question there? I'm sure the engineers there can provide more professional answers about MBDT. Due to the division and permission limitations, I can't help you contact the corresponding sub-forum directly, please resubmit your question to the corresponding sub-forum, thank you for your collaboration!

Gavin_Jia_1-1734337768580.png

 

 

Best regards,
Gavin

0 Kudos
Reply

1,240 Views
D_D97
Contributor II

Thank you @Gavin_Jia for your assistance. I posted it there.

0 Kudos
Reply

1,255 Views
D_D97
Contributor II
Note that when changing the line that causes the error to a comparison between 2 constants like this :
%if (2000 <= 2047)
it works.
0 Kudos
Reply