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

1 view (last 30 days)
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);

Accepted Answer

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

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!