MATLAB plots inside the IDE like RStudio?
2 views (last 30 days)
Show older comments
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
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.
Answers (1)
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:

See Also
Categories
Find more on Graphics Performance 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!