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
| Parameter | Type | Default | Description |
|---|---|---|---|
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