필터 지우기
필터 지우기

sensel morph; calling C library

조회 수: 1 (최근 30일)
Peter
Peter 2019년 3월 12일
I am trying to connect the Sensel Morph touch sensitive keypad to Matlab. The library contains the following definitions:
typedef struct
{
unsigned char idx; // ID of the sensor
unsigned char serial_num[64]; // Serial number of the sensor
unsigned char com_port[64]; // Com port associated with the sensor
} SenselDeviceID;
typedef struct
{
unsigned char num_devices; // Num of devices found
SenselDeviceID devices[SENSEL_MAX_DEVICES]; // Sensel device ID details
} SenselDeviceList;
When the compiled library is loaded into matlab, it gives the following warning:
The data type 'SenselDeviceID#16' used by structure SenselDeviceList does not exist.
'SENSEL_MAX_DEVICES' is set to be 16. if I change it to some other number then the number following the # in the warning changes with it. It is as if some process is changing ' devices' to '#'
so a) can anyone shed any light on what might be happening here?
or b) has anyone else managed to link matlab to the Sensel?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by