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 件のコメント

Sebastian Mcbride
Sebastian Mcbride 2019 年 11 月 27 日
I have the same issue, did you manage to resolve it? If yes, could you, please, share how?

サインインしてコメントする。

回答 (1 件)

Matteo Lisi
Matteo Lisi 2020 年 1 月 16 日

0 投票

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 件のコメント

Aaron Huynh
Aaron Huynh 2021 年 3 月 18 日
Did this work in Windows or just MacOS?
Jan
Jan 2021 年 3 月 18 日
編集済み: Jan 2021 年 3 月 18 日
@Aaron Huynh: Neither, it works on Linux only.

サインインしてコメントする。

カテゴリ

タグ

質問済み:

2019 年 10 月 16 日

編集済み:

Jan
2021 年 3 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by