How do I do that thing where I get the photo to pop up in a little window?

1 Ansicht (letzte 30 Tage)
When I highlight just 'walk', right-click and select evaluate selction, it displays a matrix of pixel numbers in the command window which I think means it's working to some extent. But when I highlight all of the code and click evaluate selction it just repeats my code in the command window and no image pops up. Furthermore, when I click on run it just displays "project1" in the command window.
walk = imread('walkstraight/frame0062.tif');
imshow(walk);

Akzeptierte Antwort

Matt J
Matt J am 4 Sep. 2021
Perhaps,
walk = imread('walkstraight/frame0062.tif');
imshow(walk); shg

Weitere Antworten (0)

Kategorien

Mehr zu Software Development Tools 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