hapi-server / client-matlab

MATLAB client for accessing HAPI data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MATLAB client for accessing HAPI data

Installation

In MATLAB, simply execute

% D/L and save hapi.
urlwrite('https://raw.githubusercontent.com/hapi-server/client-matlab/master/hapi.m','hapi.m');
help hapi

Or, download the package.

Examples

Example usage is given in hapi_demo.m.

The console and figure output of this script is viewable at hapi_demo.md.

To run examples, execute

% Download hapi.m
urlwrite('https://raw.githubusercontent.com/hapi-server/client-matlab/master/hapi.m','hapi.m');
% Download hapi_demo.m
urlwrite('https://raw.githubusercontent.com/hapi-server/client-matlab/master/hapi_demo.m','hapi_demo.m');
hapi_demo % Execute hapi_demo script

Development

git clone https://github.com/hapi-server/client-matlab.git

TODO:

  1. Generalize time parsing in hapi.m.
  2. Finish binary reader.

Notes

The HAPI specification allows dataset and parameter strings to be Unicode encoded as UTF-8. Prior to MATLAB 2021a, .m files with UTF-8 were not supported. See unicode.m for a work-around.

Contact

Submit bug reports and feature requests on the repository issue tracker.

Bob Weigel rweigel@gmu.edu

About

MATLAB client for accessing HAPI data


Languages

Language:MATLAB 58.1%Language:HTML 41.9%