MATLAB plots inside the IDE like RStudio?

2 views (last 30 days)
Glenn
Glenn on 8 Oct 2022
Commented: Glenn on 9 Oct 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 Comment
dpb
dpb on 8 Oct 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.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 8 Oct 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 Comment
Glenn
Glenn on 9 Oct 2022
Yes, I just tried this with one of my scripts. It should work for me now. Thank you very much.
Glenn

Sign in to comment.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!