How do I display logged local data of stateflow in Logic Analyzer
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Michael Felger
le 1 Fév 2019
Réponse apportée : Dhanashree Mohite
le 12 Fév 2019
I would like to log a Local variable in a stateflow diagram and view it in the Logic Analyzer together with other signals.
I've enabled Logging for the variable via Model Explorer -> selected variable -> Logging -> Log signal data checkbox.
After I run the simulink model, the variable is available in the logsout-Variable in my workspace, so logging seems to work.
However, when I open the Logic Analyzer, the variable isn't available.
Is it possible to view a Local variable in a stateflow diagram in the Logic Analyzer without passing it as an output to Simulink?
0 commentaires
Réponse acceptée
Dhanashree Mohite
le 12 Fév 2019
As per my knowledge, there is no such way in MATLAB R2018b to view local variables of Stateflow in Logic Analyzer.
But yes, it can be done through Simulation Data Inspector.
0 commentaires
Plus de 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!