Hold on between different callbacks app designer

2 次查看(过去 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
I found the solution and attached sample resolution.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by