Plotting problem in MATLAB ONLINE

10 Ansichten (letzte 30 Tage)
PChoppala
PChoppala am 15 Mai 2025
Kommentiert: PChoppala am 15 Mai 2025
I am getting the following error while plotting. Even as simple as figure, plot(1:10)
Warning: An error occurred while drawing the scene: Error in scene tree: Could not create peer object for PrimitiveContainer: TypeError: n.subclassProperties.reduce is not a function. (In 'n.subclassProperties.reduce((a,u)=>(a[u]=n[u],a),{})', 'n.subclassProperties.reduce' is undefined)
Warning: An error occurred while drawing the scene: Error in web pick traversal: TypeError: a[d].match is not a function. (In 'a[d].match(u)', 'a[d].match' is undefined)
Leads on how to get over this are appreciated.
  2 Kommentare
Steven Lord
Steven Lord am 15 Mai 2025
Can you confirm that you haven't written your own plot.m file that's taking precedence over the plot function that is part of MATLAB? What does this command show?
which -all plot(1:10)
built-in (/MATLAB/toolbox/matlab/graphics/graphics/graph2d/plot)
PChoppala
PChoppala am 15 Mai 2025
Nope, no plot.m file anywhere on my drive.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Vinod
Vinod am 15 Mai 2025
Can you log out, log back in and try it out?
  2 Kommentare
PChoppala
PChoppala am 15 Mai 2025
Tried it several times.
PChoppala
PChoppala am 15 Mai 2025
Aatually, I logged in now and it works. Perhaps some issue.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Specifying Target for Graphics Output finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by