image thumbnail

screen record

version 1.0.0.0 (4.04 MB) by Nassim Khaled
Screen capture can be used to record any screen activity and output the recorded actions as video fi

5K Downloads

Updated 25 Aug 2008

View License

Can be used to record any screen activity and output the recorded actions as video file (MOVIE.avi). It also saves the frames used to
create the movie in a jpg format frames. The images are named as
scrcapture -frame number- .jpg
For example the first frame is named scrcapture1.jpg
The recording time is almost identical to the actual cpu time.
The quality of the video is excellent, but the size is big. One is advised
to record short videos(order of minutes).For even better quality, one could replace the
png format to jpg(simply uncomment the respective commands).
to call the function, one types:

screen_capture(movie_name,recording_time)
where
movie_name: is a string representing the name of the movie
recording_time: is the length of the capturing (in seconds)
To try, one might use the following example:
screen_capture('movie',30)
When the code is done writing the movie, a gong sound will be played
to inform the user that the movie is finished.

Cite As

Nassim Khaled (2021). screen record (https://www.mathworks.com/matlabcentral/fileexchange/21216-screen-record), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: screencapture

Community Treasure Hunt

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

Start Hunting!