Filter löschen
Filter löschen

how to use handles key pressed to change 2 figures at once?

1 Ansicht (letzte 30 Tage)
nirit
nirit am 15 Okt. 2018
Hello all. I have folder path1 which contains 10 images. and folder path2 which contains 10 images. I have a costume matlab function that plots a image#1 from a certain path. when pressing on a keyboard key, the image changed to image#2 and so on. I want call the same function again, only on different path, so each time I press on the keyboard, both of the figures will changes. meaning- no matter which figure was "on" when I pressed the key, both figures will now show image#i.
Can anyone help me with a simple template for this matter? I don't know how to work with handles very well. nor do I found a good guide. thanks,

Antworten (0)

Kategorien

Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by