Invalid MEX-file error

I'm using Matlab R2019b with the PsychToolbox to run a visual stimuli sequence on a screen and keep getting the following mex file error:
Invalid MEX-file '/home/snaillab/MATLAB/TOOLBOXES/Psychtoolbox/PsychBasic/Screen.mexa64': libdc1394.so.22: cannot open shared
object file: No such file or directory
Error in HideCursor (line 32)
Screen('HideCursorHelper', screenid, mouseid);
Error in pilot_retrograde_visual (line 18)
HideCursor
How can I fix this?

1 comentario

Sebastian Mcbride
Sebastian Mcbride el 27 de Nov. de 2019
I have the same issue, did you manage to resolve it? If yes, could you, please, share how?

Iniciar sesión para comentar.

Respuestas (1)

Matteo Lisi
Matteo Lisi el 16 de En. de 2020

0 votos

I encountered the same issue in Matlab r2019b under Ubuntu 18.04. Running this in a terminal made the trick for me:
sudo apt-get update
sudo apt-get install libdc1394-22

2 comentarios

Aaron Huynh
Aaron Huynh el 18 de Mzo. de 2021
Did this work in Windows or just MacOS?
Jan
Jan el 18 de Mzo. de 2021
Editada: Jan el 18 de Mzo. de 2021
@Aaron Huynh: Neither, it works on Linux only.

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 16 de Oct. de 2019

Editada:

Jan
el 18 de Mzo. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by