SIGCLEAR Program reference

sgloadmat

import MATLAB data into a SIGCLEAR dataset

Package: sigclear-io · Version: 1.0.1-3 Download JSON

Description

load MATLAB variables by assigning output fields to variable paths

examples:
1. load a MATLAB variable nested in a cell and structure:
field=cell[0][0].struct.structfield
2. transpose a MATLAB matrix before loading:
field=variable.T

Synopsis

sgloadmat <stdin -dump=STDOUT >stdout

Parameters

sgloadmat parameters
ParameterTypeDefaultDescription
in ifile stdin input MATLAB file; map a MATLAB variable to an output field as follows: field=matlab.variable
-dump bool STDOUT list the MATLAB variable hierarchy instead of creating a dataset; defaults to true on a terminal
out ofile stdout output SIGCLEAR dataset: 1. MATLAB matrix rows become vector samples 2. MATLAB matrix columns become SIGCLEAR dataset columns

Input and output

Input

input MATLAB file; map a MATLAB variable to an output field as follows: field=matlab.variable

Output

output SIGCLEAR dataset: 1. MATLAB matrix rows become vector samples 2. MATLAB matrix columns become SIGCLEAR dataset columns