Logging Data to Workspace from Simulink with External Mode and BeagleBone
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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)
- https://jp.mathworks.com/help/supportpkg/beagleboneblue/ug/prerequisite.html
- https://jp.mathworks.com/help/supportpkg/beagleboneblue/ug/log-signals-on-a-hardware.html
- https://jp.mathworks.com/help/supportpkg/beagleboneblue/ref/mat-file-logging-beaglebone-blue-hardware.html
- https://jp.mathworks.com/help/rtw/ref/mat-file-logging.html?lang=en
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?
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Prepare Model Inputs and Outputs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!