Effacer les filtres
Effacer les filtres

Plot Simulink scope in App designer

32 vues (au cours des 30 derniers jours)
Rahul Murmude
Rahul Murmude le 20 Mai 2019
I have built an app which interacts with a simulink model, set the block values and runs it. Now in the app I want to include the graph plotted from scope and I need to show a specific value at the output in the app. How to do this?

Réponse acceptée

Shivam Sardana
Shivam Sardana le 30 Mai 2019
Log the simulation data from Scope block into MATLAB Workspace and then use it in your app. You can refer to the documentation link of Common Scope Block Tasks for logging the data:
  1 commentaire
saleh said bouhliga
saleh said bouhliga le 16 Oct 2020
hi
Solution to your question see here
https://se.mathworks.com/matlabcentral/fileexchange/73613-interface-between-matlab-app-and-simulink?s_tid=answers_rc2-1_p4_Topic

Connectez-vous pour commenter.

Plus de réponses (2)

Jasmine Poppick
Jasmine Poppick le 26 Avr 2024
Starting in R2024a, you can use App Designer to interactively create an app for a Simulink model, which includes the capability to easily and performantly visualize signal data in the app using the new time scope UI component.
In addition, you can:
  • Add UI components configured specifically to interact with your model, such as a simulation start/stop control and a simulation progress bar.
  • Tune model variables from the app while the simulation runs by connecting UI components to variables.
For more information, see Create App for Simulink Model.

Kilsu Kim
Kilsu Kim le 11 Mai 2023

Catégories

En savoir plus sur View and Analyze Simulation Results dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by