This task is very hard to finish in other programming languages,
what about in MATLAB?
This task is very hard to finish in other programming languages,
what about in MATLAB?
Not sure if you're looking for a pure MATLAB solution. But if you have Python handy, take a look at PyWebShot. Then, you can just call the Python script from MATLAB using the exclamation mark syntax, etc.
I'm not sure if Matlab is the best way to do this, but here's how:
If you need finer-grained control, you can use Java's java.awt.Robot.createScreenCapture to take a screenshot that you can then save. This can be done from within Matlab (it is actually the basis of the ScreenCapture utility), or from standalone Java code.