MATLAB plots inside the IDE like RStudio?

2 Ansichten (letzte 30 Tage)
Glenn
Glenn am 8 Okt. 2022
Kommentiert: Glenn am 9 Okt. 2022
Is it possible to embed a fiugure into the IDE like in RStudio default has a plot window, I use MATLAB for lectures broadcast to students online using blackboard collaboorate, so when I do run code in the MATLAB IDE I have to go and switch winows all the time from the IDE to a figure window,
  1 Kommentar
dpb
dpb am 8 Okt. 2022
Not a feature in MATLAB. It can be annoying, indeed, that figures are separate windows and it pops them up always right on top of each other and you've got to move things around to see both at same time which cramps real estate deeply when also have editor open, even with two monitors.
I've never used them, and it may not work for live exposition, but have you tried using a live script as the working environment? It does format stuff with the code...
I also haven't tried it other than with the forum so I don't know how it works, but does the online version put graphics in line after the code like when execute/run on Answers forum here? It's somewhat problematical because in Answers, at least, there are none of the IDE features...
I'd suggest contacting MATLAB official sales support; there may well be much better solutions for pedagogical purposes available.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 8 Okt. 2022
@Glenn, yes you can -- if you use live scripts instead of regular scripts or the command window. I'm attaching a screenshot of an example:
  1 Kommentar
Glenn
Glenn am 9 Okt. 2022
Yes, I just tried this with one of my scripts. It should work for me now. Thank you very much.
Glenn

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Graphics Performance finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by