MATLAB Answers

Hold on between different callbacks app designer

조회 수: 4(최근 30일)
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.

채택된 답변

Alejandro Fernández
Alejandro Fernández 2020년 2월 11일
I found the solution and attached sample resolution.

추가 답변(0개)

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by