FreeMASTER and Simulink

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

FreeMASTER and Simulink

939 Views
fernando_barrio
Contributor III

Hi, 

I am trying to use FreeMASTER to visualize the data being received through the CAN bus, it works great if I am using Memory blocks in simulink. However, when I try to use the Out blocks I cannot find those variables in FreeMASTER for some reason, has anyone else had this problem?

I am using the Matlab 2018a and FreeMASTER 2.0.

Thank you in advance.

0 Kudos
1 Reply

557 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi fa2barri@uwaterloo.ca‌,


Probably the Out Port variables are optimized out during code generation or during cross compilation. You probably need to specify to Simulink to consider those output port as volatile. 

You need to look over the generated code files and check how they are used in code.

Hope this helps!

Daniel

0 Kudos