visual3d:documentation:pipeline:file_commands:export_data_from_matfile
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
visual3d:documentation:pipeline:file_commands:export_data_from_matfile [2025/09/03 20:15] – created wikisysop | visual3d:documentation:pipeline:file_commands:export_data_from_matfile [2025/09/12 19:36] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Export_Data_To_Matfile ==== | + | ===== Export_Data_To_Matfile |
+ | ====Overview==== | ||
- | This command is similar to Export_Data_To_Matlab except that the resulting data is placed in an Matlab .mat file rather than being pushed into the Matlab Workspace | + | Data can be exported from Visual 3D to a MAT file by using the **Export_Data_To_Matfile** command. This command allows you to save signal data and parameter data from Visual 3D into MAT format so it can be read by a Matlab function. You must specify the file name of the file from which the data is to be taken, the signal name, the signal type, whether or not the signal is processed or not, and the output name. The output name is simply the name of the variable that is saved in the MAT file; this is not necessarily the same as the signal name (see below). In addition to this, if you want to export parameters (data from the PARAMETERS branch of the data tree), you can include the **PARAMETER_GROUPS, |
- | {{: | ||
It is very important to note that Visual3D expresses an unknown value (e.g. a TARGET with residual of -1) using the value DATA_NOT_FOUND (-99999). Matlab doesn' | It is very important to note that Visual3D expresses an unknown value (e.g. a TARGET with residual of -1) using the value DATA_NOT_FOUND (-99999). Matlab doesn' | ||
+ | ====Pipeline Command==== | ||
< | < | ||
Export_Data_To_Matfile | Export_Data_To_Matfile | ||
Line 20: | Line 21: | ||
; | ; | ||
</ | </ | ||
+ | ====Dialog==== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===Example=== | ||
+ | |||
+ | As an example, Visual3D will export data to Matlab (.mat) files using the following pipeline command syntax. This example was derived using the ExampleWalk.c3d file available on the website. | ||
+ | |||
+ | Export_Data_To_Matfile | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Note that Matlab 7.0 Release 14 is incompatible with Release 12 and 13; Visual3D currently import/ | ||
+ |
visual3d/documentation/pipeline/file_commands/export_data_from_matfile.1756930534.txt.gz · Last modified: 2025/09/03 20:15 by wikisysop