Matlab crash while running mex file

1 visualización (últimos 30 días)
Carlo Karam
Carlo Karam el 14 de Abr. de 2020
Comentada: Tohru Kikawada el 2 de Jun. de 2020
I am using a repository found on github to be used with Matlab for ROS, and I'm having trouble with running the mex files. I have compiled them (I believe successfully), but matlab keeps crashing when reaching the corresponding functions in the script.
I've gotten two different crash reports so far. At first, I thought it might be the libstdc++.so.6 symbolic link, so I changed it to point to the libstdc++ of the system. The peculiar thing in the crash reports is that they both show the graphics cards were not recognized. Could it be that? I tried running matlab -softwareopengl but it crashed nonetheless.
I have attached the crash reports as crash1 and crash2. I've also attached one c++ file (getVoxelGrid), which, among others, is called by the script.
Thank you.
  1 comentario
Tohru Kikawada
Tohru Kikawada el 2 de Jun. de 2020
Which repository are you referencing? It may be hard to figure something out without the reproducible code.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by