subcaseh3dsteps

Gets associated timestep for each simulation in a subcase.

Attention: Available only with Activate commercial edition.

Syntax

R = subcaseh3dsteps(fid, [, subcase])

Inputs

fid
Integer representing the file ID, returned from createh3dfile().
Type: double | integer
subcase
A subcase name or index.
Type: string | int

Outputs

R
Matrix containing the associated timestep for each simulation in a subcase.
Type: integer | matrix

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 = subcaseh3dsteps(idx, it)
end
closeh3dfile(idx);