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

조회 수: 1 (최근 30일)
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);

채택된 답변

Matt J
Matt J 2021년 9월 4일
Perhaps,
walk = imread('walkstraight/frame0062.tif');
imshow(walk); shg

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by