How to use the simout block to log data in External Mode?

1 次查看(过去 30 天)
I am using Embedded Coder to program LAUNCHXL-F28379D Microcontroller. The simulation mode is set to external mode and I need to keep a log of the ADC output data. I tried using the simout block where the "Save Format" is set to "Structure With Time" and I got a struct when I stopped the simulation. However, the struct (1x1 struct with 3 fields) is empty. I am sure that the SCI is properly configured and the onboard Tx and Rx LEDs are blinking, showing that the data is transmitted back to the PC. So why the struct is empty?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Discontinuities 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by