How to create observation variables

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

How to create observation variables

跳至解决方案
819 次查看
Renjie-Wang
Contributor II

I programmed it with simulink, burned it to MPC5744, and observed it with Free Master, but the variable I wanted to observe didn't exist. I wonder how to create observation variables in Simulink

0 项奖励
回复
1 解答
771 次查看
SuperBeginner
Contributor III

Hi @Renjie-Wang ,

Hope this helps you.

https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Sending-data-via-UART-and-monitoring-signa...

Alternatively, you can also set your variables to Volatile through Simulink -> Apps -> Embedded Coder -> Code Maapings-C -> Data Stores

擷取.PNG

You can monitor variables through FreeMaster.

在原帖中查看解决方案

0 项奖励
回复
1 回复
772 次查看
SuperBeginner
Contributor III

Hi @Renjie-Wang ,

Hope this helps you.

https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Sending-data-via-UART-and-monitoring-signa...

Alternatively, you can also set your variables to Volatile through Simulink -> Apps -> Embedded Coder -> Code Maapings-C -> Data Stores

擷取.PNG

You can monitor variables through FreeMaster.

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1971253%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%A6%82%E4%BD%95%E5%88%9B%E5%BB%BA%E8%A7%82%E5%AF%9F%E5%8F%98%E9%87%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1971253%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E7%94%A8simulink%E7%BC%96%E7%A8%8B%EF%BC%8C%E7%83%A7%E5%BD%95%E5%88%B0MPC5744%E4%B8%8A%EF%BC%8C%E7%94%A8Free%20Master%E8%A7%82%E5%AF%9F%EF%BC%8C%E4%BD%86%E6%98%AF%E6%83%B3%E8%A6%81%E8%A7%82%E5%AF%9F%E7%9A%84%E5%8F%98%E9%87%8F%E5%B9%B6%E4%B8%8D%E5%AD%98%E5%9C%A8%E3%80%82%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E5%A6%82%E4%BD%95%E5%9C%A8%20Simulink%20%E4%B8%AD%E5%88%9B%E5%BB%BA%E8%A7%82%E5%AF%9F%E5%8F%98%E9%87%8F%3C%2FP%3E%3C%2FLINGO-BODY%3E