GetScreenshots - bash screencapture from matlab with various user-settings

Start screencapture.sh from within matlab, with user-defined parameters (delay, number of shots)

Sie verfolgen jetzt diese Einreichung

This function calls a bash script which acquires screenshots in the background while matlab continues working.
The matlab script creates the bash-script first with user-defined parameters (or default settings), and after calling it, returns the path and name of the bash script.
Images are saved with consecutive numbering to a predefined folder.
I find this useful when running a fullscreen matlab display, which I want to capture at different times during presentation.
Written and tested so far only in Matlab 2009.

Zitieren als

Barbara (2026). GetScreenshots - bash screencapture from matlab with various user-settings (https://de.mathworks.com/matlabcentral/fileexchange/48749-getscreenshots-bash-screencapture-from-matlab-with-various-user-settings), MATLAB Central File Exchange. Abgerufen .

Kategorien

Mehr zu Software Development Tools finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.1.0.0

- optionally saving multiple screens (NoOfScreens>1), named disp1, disp2 etc.
- UseExistingScripts 0: create new script and run; 1: run previously created script;-1: create new script and return
- defaultFileName to customize image output

1.0.0.0