Skip to content

Matlab wrapper: error on context.query_devices #2539

@izaakvc

Description

@izaakvc

When executing following code (like in the API How To, but translated to Matlab):

context = realsense.context;
devices = context.query_devices;

I get following Java/Matlab error in a popup:
Matlab Java error

After a while a crash follows.
Calling sensors = context.query_all_sensors does work without errors, so I can work around the problem by using context.get_sensor_parent(sensors{i}) to get the devices, but it is cumbersome.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions