closeh3dfile

Closes an H3D file opened by createh3dfile(). Requires the fileID returned by createh3dfile as an argument.

Syntax

R = closeh3dfile(fid)

Inputs

fid
Integer representing the file ID.
Type: double | integer

Outputs

R
Numerical equivalent true/false.

Example

fid = createh3dfile('C:/test.h3d')
R = closeh3dfile(fid)
fid = 41
R = 1