createh3dpool

Creates a pool to be added to the H3D file

Syntax

R = createh3dpool(fid, name)

Inputs

fid
Integer representing the file ID, returned from createh3dfile().
Type: double | integer
name
The pool name.
Type: char | string

Outputs

R
Type: double | integer

Example

% Create H3D file
idx =createh3dfile(resultFile)
% Create pool
pidx1  =createh3dpool(idx, '2D');
pidx2  =createh3dpool(idx, '3D');

Comments

If the pool name already exists, the function returns an error.