Matlab2025b cannot plot the variable values

66 views (last 30 days)
승현
승현 on 6 Jan 2026 at 16:04
Answered: Image Analyst ungefär 12 timmar ago
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 Comments
승현
승현 on 9 Jan 2026 at 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

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst ungefär en timme ago
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);

Products


Release

R2025b

Community Treasure Hunt

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

Start Hunting!