Logging Data to Workspace from Simulink with External Mode and BeagleBone

Hello,
I am running my Simulink model in External Mode where it deploy code to a BeagleBoneBlue (BBB). During that, I want to push data from Simulink to the MATLAB workspace for post-processing. However, when I set up signal logging in a "Scope", the data comes to the workspace as a scalar in a MATLAB structure. There is no vector of recorded data for the time I ran the model. See attached data and model for what I mean.
I have tried the following resources to resolve my trouble (first 3 log data to hardware. Last one supposedly logs data to workspace but that is where I only got scalar values)
These all, however, log the signals to my BBB board. I can then load the files from the BBB and use the data in MATLAB, but I am trying to save this step and not take up space on the board. I will look to go straight from Simulink -> MATLAB with no middle-man.
Does anyone have help they could offer?

Respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Preguntada:

el 28 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by