Main Content

openToWrite

Class: lidar.blocked.Adapter
Namespace: lidar.blocked

Create and open destination for writing

Since R2022a

Description

openToWrite(obj,destination,info) opens the location specified by the destination for writing.

Use this method to prepare the destination for writing. For example, open a file handle, create a destination folder, or write a file header or metadata to the destination.

Input Arguments

expand all

Adapter object, specified as an instance of an adapter class that is subclassed from the lidar.blocked.Adapter class.

Location to write to, specified as a string scalar or character vector.

Data Types: char | string

Information about the source, specified as a structure that contains additional metadata of the input point cloud. The structure can be empty.

Version History

Introduced in R2022a