Matlab2025b cannot plot the variable values

조회 수: 65 (최근 30일)
승현
승현 2026년 1월 6일 16:04
답변: Image Analyst 대략 9시간 전
I selected the variable column as in the image above; however, plotting is not enabled.
It was working normally, but selection suddenly stopped working. Reinstalling the software did not resolve the issue.
  댓글 수: 6
승현
승현 2026년 1월 9일 8:18
MATLAB 버전: 25.2.0.3055257 (R2025b) Update 2
MATLAB 라이선스 번호: 41294535
운영 체제: Microsoft Windows 11 Pro Version 10.0 (Build 26100)
Java 버전: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
승현
승현 2026년 1월 9일 8:19
@Torsten Nothing..

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

답변 (1개)

Image Analyst
Image Analyst 대략 8시간 전
What does this show
>> whos Derating_Cap
Since it's a 3-D array, maybe try extracting out a vector into a single variable and then plot that.
% Get first plane/slice as a 2-D matrix
plane1 = Derating_Cap(:, :, 1);
column1 = plane1(:, 1);
Depending on what vector you want to plot in the 3-D array, you might have to use squeeze.
plane1 = Derating_Cap(:, 1, :);
plane1 = squeeze(plane1);
column1 = plane1(:, 1);

카테고리

Help CenterFile Exchange에서 Standard File Formats에 대해 자세히 알아보기

태그

제품


릴리스

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by