geth3dsubcases
Gets all defined subcases inside an open instance.
Syntax
R = geth3dsubcases(fid)
Inputs
- fid
- Integer representing the file ID, returned from createh3dfile().
Outputs
- R
- Cell containing all subcase names in an H3D file with correct indexing.
Example
% File : test.oml
clear all; close all; clc;
cd(fileparts(omlfilename('fullpath')));
modelFile = 'test1.h3d';
resultFile = 'test1_query.h3d';
delete(resultFile);
copyfile(modelFile, resultFile, 'f');
idx = createh3dfile(resultFile, 'append');
subcases = geth3dsubcases(idx)
closeh3dfile(idx);