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 Kommentare

Christopher McCausland
Christopher McCausland am 26 Okt. 2023
Please upload your code so it can be tested and ran by other users.
Adli L
Adli L am 26 Okt. 2023
Star Strider
Star Strider am 26 Okt. 2023
I ran it in MATLAB Online.
It runs without error.
Adli L
Adli L am 26 Okt. 2023
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
Star Strider
Star Strider am 26 Okt. 2023
I assume that exiting and re-starting MATLAB has not worked.
If so, you may need to reinstall it.
dpb
dpb am 26 Okt. 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
Dyuman Joshi am 26 Okt. 2023
Bearbeitet: Dyuman Joshi am 26 Okt. 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 am 12 Dez. 2023
@Adli L, what OS and ML version are you using? On Win7 and ML (R2021b) Update 7 your code works fine.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Noah Prisament
Noah Prisament am 12 Dez. 2023

0 Stimmen

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.

Kategorien

Mehr zu MATLAB Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2023a

Gefragt:

am 26 Okt. 2023

Kommentiert:

am 12 Dez. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by