- Do you already have all you data into Matlab from Excel?
- Use line to initially generate your figure and return the handle of the line. Then use scatter to highlight a specific data point. Finally, during each iteration in your for loop, just overwrite the "XData" & "YData" properties of the scatter to highlight the data point of interest.
- Likewise, create a uicontrol: textbox to show the values. Update the "STRING" value of that control to reflect the data highlighted in the scatter above.
- To invoke a pause/resume function. You'll need a keyboard listener function pegged to the "WindowsKeyboardFcn" property of the figure. Then at the end of each loop iteration, check for a status change in your keyboard toggle.
I have 60,000 x&y values in excel file. How to read the excel file & plot the values the in the graph using animated line matlab GUI continuously when it is paused it should display the x & y value in the text box. when it resumes it should continue.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have 60,000 x&y values in excel file. How to read the excel file & plot the values the in the graph using animated line matlab GUI continuously when it is paused it should display the x & y value in the text box. when it resumes it should continue.How to perform pause and resume operation using while loop. and how to display the values continuously in the text box. when it pauses the everything waits till it is resumed. when it resumes it should continue.
1 commentaire
Meade
le 26 Fév 2018
This seems very doable, just need some more detail:
This is just high-level, I can provide syntax if you can give more detail.
Réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!