Hold on between different callbacks app designer

1 visualizzazione (ultimi 30 giorni)
Hello, everybody.
I have an application with four buttons and some UIAxes, one button is programmed so I can open data from .txt files and load a matrix with data.
The second button, draws those data in the axes that I have in the application
The doubt arises with the third and fourth button, I want that in first place, when pressing the third button it looks for the minimum of the points that I had loaded previously and that I draw it in the previous axes, but without it erases me so much the properties as the graphs that I had made. In addition, the fourth button I want it to look for the one after the minimum, that is to say, that it looks for the second lowest one the first time that I press it, the third lowest one etc and that it paints these new points on the graph that I had made with the second button.
Does anyone know how to draw (make a kind of hold on) having as base what had been done with the second button?
Thank you very much for everything.

Risposta accettata

Alejandro Fernández
Alejandro Fernández il 11 Feb 2020
I found the solution and attached sample resolution.

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by