subcaseh3dsimsnames
Gets all defined simulations inside in a subcase.
Syntax
R = subcaseh3dsimsnames(fid, [, subcase])
Inputs
- fid
- Integer representing the file ID, returned from createh3dfile().
- subcase
- A subcase name or index.
Outputs
- R
- Cell containing all simulations names in a subcase.
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
subcases = geth3dsubcases(idx)
for it = 1:length(subcases)
sims = subcaseh3dsimsnames(idx, it)
end
closeh3dfile(idx);