Main Content
getOccupancy
Get occupancy value of locations
Syntax
Description
The getOccupancy
function gets the occupancy values of
specified locations in the binary occupancy map.
returns a matrix of occupancy values by specifying the bottom-left corner location in
world coordinates and the matrix size in meters.occMatrix
= getOccupancy(map
,bottomLeft
,matSize
)
returns a matrix of occupancy values by specifying the bottom-left corner location in
local coordinates and the matrix size in meters.occMatrix
= getOccupancy(map
,bottomLeft
,matSize
,"local")
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2015a