Videoquickwritelastcommand
Videoquickstart; Videoquickcloseandopen; % Just open and close
This function, Videoquickwritelastcommand
, is designed to write the last executed command into a video. It is part of the SolidGeometry library and is used for visualization purposes.
The function does not take any input parameters.
stext
, which contains a message indicating that the video was created using the last command executed. This is done using the sprintf
function, which formats the string to include the last command retrieved by the lastcommand
function.Videoquickwritetextpage
function. The parameters passed to this function are:
stext
as the main content to be written.12
, which could represent font size or another formatting parameter.Videoquickwritetextpage
), the function catches the exception and instead prints the text to the debug console using dbprintf
.The function does not return any output. Its primary purpose is to write the last command to a video or print it to the console if an error occurs.
lastcommand
: Retrieves the last executed command.Videoquickstart
: Initializes video recording.Videoquickcloseandopen
: Closes and reopens video recording.drawnowvid
: Updates the video with the current frame.