Matlab interface with Raspberry Pi

4 visualizaciones (últimos 30 días)
Sushil
Sushil el 22 de Abr. de 2018
Respondida: Saipraveen el 18 de Jun. de 2019
>> rpi = raspi('192.168.0.111','pi','raspberry')
### Updating Raspberry Pi I/O server... ### Connecting to board... ### Connected to 192.168.0.111... ### Installing nanomsg Library (this might take a while)... ### Creating server folder... ### Transferring source files... ### Building MATLAB I/O server... Error using raspi.internal.updateServer (line 114) Error executing command "make -C /opt/MATLAB/server_v18.1.0 -f Makefile". Details:
STDERR: server.c: In function ‘bindSocket’: server.c:44:5: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] /usr/include/stdio.h:361:12: note: expected ‘char * _restrict_’ but argument is of type ‘unsigned char *’ server.c:55:5: warning: pointer targets in passing argument 2 of ‘nn_bind’ differ in signedness [-Wpointer-sign] /usr/local/include/nanomsg/nn.h:352:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ server.c: In function ‘main’: server.c:128:15: warning: unused variable ‘thread’ [-Wunused-variable] server.c:127:15: warning: unused variable ‘clientSock’ [-Wunused-variable] handler.c: In function ‘receiveRequest’: handler.c:232:5: warning: passing argument 2 of ‘sockRecv’ from incompatible pointer type [enabled by default] handler.c:116:12: note: expected ‘char *’ but argument is of type ‘struct REQUEST_t *’ handler.c: In function ‘executeCommand’:
  1 comentario
Sushil
Sushil el 22 de Abr. de 2018
Can someone please help me, as to how to resolve this error. Thanks in advance.

Iniciar sesión para comentar.

Respuesta aceptada

Saipraveen
Saipraveen el 18 de Jun. de 2019
These videos should help you get started with programming your Raspberry Pi Board with MATLAB or Simulink :

Más respuestas (0)

Categorías

Más información sobre MATLAB Support Package for Raspberry Pi Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by