How do I create an X-Y plot using Simulink Real Time App Generator in MATLAB R2022b?
I am trying to generate an app for my target system using the Simulink Real-Time App Generator in MATLAB R2022b. My model contains two signals, Speed and Torque, and I wish to plot them against each other in the generated app. Currently, when I designate the "Control Type" for these signals as "Axes", it creates two separate plots: one for Speed vs. Time and another for Torque vs. Time. However, my goal is to have a real-time Speed vs. Torque plot displayed in the app. The code view of the apps does not provide clear guidance, and I am uncertain about how the plots are generated. Is there a method to create such an X-Y plot within the app?
Accepted Answer
0 Comments
More Answers (0)
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!