FreeMASTER and Simulink

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FreeMASTER and Simulink

1,540件の閲覧回数
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,158件の閲覧回数
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 件の賞賛
返信