From d2de3afe283aeeb7fb4f0bda06ee0a9879677b01 Mon Sep 17 00:00:00 2001 From: Alexander Refsum Jensenius Date: Fri, 21 Feb 2020 12:32:58 +0100 Subject: [PATCH] Make help function easier to read. --- source-code/mgvideoreader.m | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source-code/mgvideoreader.m b/source-code/mgvideoreader.m index 4462058..772ee41 100644 --- a/source-code/mgvideoreader.m +++ b/source-code/mgvideoreader.m @@ -4,16 +4,18 @@ % and returns a data structure containing the video parameters and data. It % could extract segment from existing musical gestures data structure. % syntax: mg = mgvideoreader(filename) +% % input: % filename: the name of video file -% Extract: indicates that mgvideoreader reads a segment from the video +% extract: indicates that mgvideoreader reads a segment from the video % starttime: start of extracted segment % endtime: end of extracted segment % mg: a musical gestures data structure +% % output: % mg,a musical gestures data structure containing the extracted segment of -% the video -%eg. s = mgvideoreader(filename,'Extract',timestart) +% the video, for example: +% s = mgvideoreader(filename,'Extract',timestart) % s = mgvideoreader(mg); % s = mgvideoreader(mg,'Extract',timestart) % s = mgvideoreader(mg,'Extract',timestart,timeend)