Can't create subplots

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

Please upload your code so it can be tested and ran by other users.
I ran it in MATLAB Online.
It runs without error.
yes, MATLAB online runs fine, but how to fix it on the software version? I've tried repairing my install, the @SubplotListenersManager folder is there, but MATLAB just won't recognize it
I assume that exiting and re-starting MATLAB has not worked.
If so, you may need to reinstall it.
dpb
dpb on 26 Oct 2023
It also runs (well, if rename it to recognize/allowable name) locally on R2021b under Win10.
What release and OS are you using?
I suppose a "clear all" didn't help? If this persists, call TMW official support; sounds like probably some sort of graphics internals issue...
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
@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

0 votes

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.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products

Release

R2023a

Asked:

on 26 Oct 2023

Commented:

on 12 Dec 2023

Community Treasure Hunt

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

Start Hunting!