FreeMASTER and Simulink

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FreeMASTER and Simulink

1,549 次查看
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 项奖励
回复
1 回复

1,167 次查看
Daniel_Popa
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 项奖励
回复