필터 지우기
필터 지우기

Dot indexing is not supported for variables of this type - ISSUE?

조회 수: 2 (최근 30일)
L
L 2021년 10월 13일
댓글: L 2021년 10월 16일
Here is the screenshot. What is the problem here? Yesterday I was able to access the Data field in the Command Window with the code line in the screenshot.
Is it a common problem, or there is a problem in my script?
Thank you.
  댓글 수: 5
L
L 2021년 10월 16일
Thank you, I have solved the problem.

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2021년 10월 13일
Start with experimenting:
img2 = reshape(img, [4, 376, 672]);
rgb = permute(img2([3 2 1], :, :), [2, 3, 1]);
figure, image(rgb);
This is called "gunshot programming" and an anti-pattern. But if it works...

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Network Connection and Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by