Can't create subplots

2 views (last 30 days)
Adli L
Adli L on 26 Oct 2023
Commented: Alexander on 12 Dec 2023
hello, earlier today my code was running without a problem, and suddenly right now the software can't generate my subplots and showing this error message
Unable to resolve the name 'matlab.graphics.internal.SubplotListenersManager'.
how can I solve this? thanks
  8 Comments
Dyuman Joshi
Dyuman Joshi on 26 Oct 2023
Edited: Dyuman Joshi on 26 Oct 2023
Release is mentioned - R2023a
And, the code also runs on my machine - Win 10 and MATLAB R2021a.
Maybe check what's the output of -
which subplot -all
/MATLAB/toolbox/matlab/graph2d/subplot.m
Best to contact TMW support - Contact Support
Alexander
Alexander on 12 Dec 2023
@Adli L, what OS and ML version are you using? On Win7 and ML (R2021b) Update 7 your code works fine.

Sign in to comment.

Answers (1)

Noah Prisament
Noah Prisament on 12 Dec 2023
Hi Adli, please try the instructions here: https://www.mathworks.com/matlabcentral/answers/2052722-how-can-i-perform-initial-troubleshooting-of-matlab-or-simulink-errors and see if that resolves your issue. It seems like this is a path issue which would be resolved by the steps on that page.

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!