geth3dsubcases

Gets all defined subcases inside an open instance.

Syntax

R = geth3dsubcases(fid)

Inputs

fid
Integer representing the file ID, returned from createh3dfile().
Type: double | integer

Outputs

R
Cell containing all subcase names in an H3D file with correct indexing.
Type: string | cell

Example

% Create H3D file
idx =createh3dfile(resultFile)
% Create datatype
tidx1  =createh3ddatatype(idx, 'DT scalar node:nolayer nocorner', 'scalar', 'node', 0, 0);
tidx2  =createh3ddatatype(idx, 'DT scalar elem:nolayer nocorner', 'scalar', 'elem', 0, 0);
tidx15 =createh3ddatatype(idx, 'DT 2Dtensor elem nolayer corner', '2Dtensor', 'elem', 0, 1);