Plot Simulink scope in App designer

42 views (last 30 days)
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?

Accepted Answer

Shivam Sardana
Shivam Sardana on 30 May 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 Comment
saleh said bouhliga
saleh said bouhliga on 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

Sign in to comment.

More Answers (1)

Kilsu Kim
Kilsu Kim on 11 May 2023

Categories

Find more on View and Analyze Simulation Results in Help Center and File Exchange

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!