Can't create subplots
Show older comments
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
Christopher McCausland
on 26 Oct 2023
Please upload your code so it can be tested and ran by other users.
Adli L
on 26 Oct 2023
Star Strider
on 26 Oct 2023
I ran it in MATLAB Online.
It runs without error.
Adli L
on 26 Oct 2023
Star Strider
on 26 Oct 2023
I assume that exiting and re-starting MATLAB has not worked.
If so, you may need to reinstall it.
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...
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
Best to contact TMW support - Contact Support
Answers (1)
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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!