How to access data shown in data inspector?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a plot of units per second in data inspector from a Mathworks refererence model.
Is it possible to access the data in data inspector to perform computations? For example, with the data in units per second, I'd like to evaluate total units used.
1 Commento
Benjamin Thompson
il 20 Gen 2024
Can you attach an example plot along with what output you are tring to get from the plot?
Risposte (1)
Arun
il 16 Feb 2024
Modificato: Arun
il 16 Feb 2024
Hi Mark,
I understand that you have a plot in data inspector from a Simulink reference model and want to access the data in that plot to perform computations such as with the data in units per seconds, evaluate the total units used.
Exporting the data from data inspector is one such way to access the data in data inspector. Here is a suggested flow that you can use to Export data from data inspector:
- Open the data inspector window.
- Click on the “Export” icon on the left options bar.
- Export the data to the base workspace or a file using the “Export” window.
4. Once the data is in MATLAB workspace or a file, perform the required operations.
5. Here are snapshots that represent calculation related to sum of sin wave data, exported to MATLAB workspace as well as an Excel-file.
“export” function can also be used to export data form data inspector. For more information related to export of data from data inspector using “export” function with examples, please refer the MathWorks documentation link: https://www.mathworks.com/help/simulink/slref/simulink.sdi.signal.export.html
Hope this helps.
0 Commenti
Vedere anche
Categorie
Scopri di più su View and Analyze Simulation Results in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!