Matlab on Linux: Failed to load module "canberra-gtk-module"

更多回答(3 个)

I get same issue on Ubuntu 20.04, 21.10 and 22.04 with matlab 2021a and 2021b.
I have the same problem with 2020b.
Then, I ran "sudo apt-get install libcanberra-gtk*', and finished with no problem. But the caution didn't disappere.
I have the same problem but the main concern is that running a .mlx file and trying to visualize some stuff (showdetails(robot))
I get:
"Couldn't create JOGL canvas--using painters"
which I totaly though it was related to the initial problem when launchin matlab
munir@munir-desktop:~/Documents/matlab2022a$ ./matlab
Gtk-Message: 14:06:16.642: Failed to load module "canberra-gtk-module"
I'm running on Ubuntu 20.04

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

版本

R2020a

标签

Community Treasure Hunt

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

Start Hunting!

Translated by