Plots graph from simulink scope to App Designer for MATLAB R2019a
Show older comments
I have an error using evalin command to plot simulink scope in UI axes - app designer MATLAB R2019a. How to solve this?
Answers (2)
Pujitha Narra
on 11 Nov 2019
0 votes
Hi Nur,
I am not sure what the error is, but you can look at a similar query here:
Hope it helps!
6 Comments
Nur Huda Mohd Amin
on 13 Nov 2019
Pujitha Narra
on 14 Nov 2019
Hey,
Can you provide the error message that you received?
Nur Huda Mohd Amin
on 15 Nov 2019
Pujitha Narra
on 18 Nov 2019
Hi again!
I don't think the problem is with the 'evalin' function. For some reason, the variable 'Output' is not recognized i.e it is not in the workspace you are working in. Can you make sure you have it in your workspace and check if the error persists? Also which block are you using for 'Output' in the model?
Nur Huda Mohd Amin
on 20 Nov 2019
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
Jasmine Poppick
on 26 Apr 2024
0 votes
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.
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!