Can you progamatically call simulink snapshot in a real-time speedgoat application utilizing a GUI?
Afficher commentaires plus anciens
I am trying to access a scope block utilizng a GUI to control scope parameters in a real-time speedgoat application. I want to access a toggle button, which when pressed will cause a simulink snapshot to occur on the scope, thus pausing the scope while the program continues to stream data in real time. A small piece of pseudo code of what I would want to do is below:
function FreezeButtonSelectionChanged(app, event)
selectedButton = app.FreezeButton.SelectedObject;
scopeConfig = get_param([mdl, '/BPScope'], 'ScopeConfiguration');
scopeConfig.simulinkSnapshot = 'True';
end
Thanks for any help you can provide!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Real-Time Application Instruments dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!