releasefileinfo3d

The data read through readcae3d , and meta data read through readcae3d, gettypename3d,gettypelist3d, gettypeindex3d,getcompname3d, getcomplist3d and getcompindex3d is not necessarily auto-released from memory when the vectors they were assigned to are emptied. They can be released explicitly though as shown below.

Syntax

releasefileinfo3d(filename)

Inputs

filename
Path of the file. Optional argument.
Memory buffered for the filename is released.
Memory buffered for all files is released when no filename given.
Type: string

Example

Basic releasefileinfo3d example:

releasefileinfo3d('Path/To/File/Comp-plate-1LC.h3d');
	  data = readcae3d('Path/To/File/Comp-plate-1LC.h3d',1,15,[],[],[],[],[],[],[]);
	  releasefileinfo3d('Path/To/File/Comp-plate-1LC.h3d');