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

1 vue (au cours des 30 derniers jours)
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);

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Software Development Tools dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by