MATLAB File Help: HebiUtils.convertGroupLogsUI
HebiUtils.convertGroupLogsUI
 convertGroupLogsUI shows a dialog to choose one or more
 .hebilog files to convert
 
    This method lets users choose one or more raw .hebilog
    files via a file selector dialog and converts them into a 
    MATLAB readable format. The output is a cell array of the
    conversion result for each selected file.
 
    The optional parameters are the same as CONVERTGROUPLOG.
 
    'LogFormat' ('format') Parameter
       'Memory' converts to an in-memory struct. Large logs can
                result in out-of-memory errors. (default)
       'Csv'    converts data to a CSV file
       'Mat'    converts data to a MAT file
       'Raw'    returns the full path to the selected log files.
 
    'View' Parameter
       'Simple'  converts only simple feedback. This is appropriate
                 for most users and results in much smaller log
                 files. (default)
       'Full'    converts all available feedback. This is appropriate
                 for advanced users that need additional timestamps
                 or data from less common sensors.
       'IO'      converts feedback fields specific to I/O devices,
                 such as analog and digital pins, or the button and
                 slider states of the HEBI Mobile I/O app.
       'Mobile'  converts feedback fields specific to mobile devices,
                 such as GPS and ARKit/ARCore estimates.
 
     Example:
        % Load selected files and plot position feedback
        hebiLogs = HebiUtils.convertGroupLogsUI();
        HebiUtils.plotLogs(hebiLogs, 'position');
 
     Example:
        % Load selected files as 'full' structs
        hebiLogs = HebiUtils.convertGroupLogsUI('View', 'full');
 
     Example:
        % Get the filenames without any loading or conversion
        fileNames = HebiUtils.convertGroupLogsUI('format','raw');
 
     Example:
        % Convert to .MAT file before loading
        % (This can be useful for very large logs)
        matFiles = HebiUtils.convertGroupLogsUI('format','mat','view','full');
        hebiLogs = cellfun(@load, matFiles, 'UniformOutput', false);
 
     Example:
        % Add info/gains if available
        [hebiLogs, infos, gains] = HebiUtils.convertGroupLogsUI();
See also
Method Details
Access public
Sealed false
Static true