subcaseh3discomplex

Queries if a subcase can contain complex data.

Syntax

R = subcaseh3discomplex(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
Value can be 1 or 0, if the subcase can accept complex data or not.
Type: double | integer

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