MATLAB无法在Ubuntu 16.04上运行 [英] MATLAB not working on Ubuntu 16.04

查看:408
本文介绍了MATLAB无法在Ubuntu 16.04上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在运行Ubuntu 16.04的笔记本电脑中安装了Coursera MOOC的MATLAB.安装路径为/usr/local/MATLAB.所有安装过程都可以,但是我尝试在终端上使用命令matlab运行它后,将显示以下窗口:

I've installed MATLAB for MOOC of Coursera in my laptop running Ubuntu 16.04. The installation route is /usr/local/MATLAB. All the installation process is ok, but after I go and try to run it using the command matlab on the terminal, it gives me this window:

此错误详细信息:

MATLAB crash file:/home/carlosab1802/matlab_crash_dump.15687-1:


------------------------------------------------------------------------
       Segmentation violation detected at Sun Jul 31 12:49:35 2016
------------------------------------------------------------------------
Configuration:
  Crash Decoding      : Disabled
  Crash Mode          : continue (default)
  Current Graphics Driver: Unknown hardware 
  Current Visual      : 0x63 (class 4, depth 24)
  Default Encoding    : UTF-8
  GNU C Library       : 2.23 stable
  Host Name           : carlosab1802
  MATLAB Architecture : glnxa64
  MATLAB Root         : /usr/local/MATLAB/R2016a
  MATLAB Version      : 9.0.0.341360 (R2016a)
  OpenGL              : hardware
  Operating System    : Linux 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13    00:07:12 UTC 2016 x86_64
  Processor ID        : x86 Family 6 Model 60 Stepping 3, GenuineIntel
  Virtual Machine     : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
  Window System       : The X.Org Foundation (11803000), display :0
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.

我不知道如何解决它,我已经搜索了很多,人们总是说安装matlab-support",我已经做到了,但仍然无法正常工作.

I don't know how to fix it, I've searched a lot and people always say "install matlab-support", I've done it but it still does not work.

推荐答案

对于在Ubuntu 15.06及更高版本上以及Matlab衍生的Ubuntu平台上的Matlab,这是一个常见错误.我在使用Kubuntu 15时也遇到了这个错误.Mathworks论坛上有一个解决方案,我将在这里为您复制.通过此解决方案,我能够解决此问题:

This is a common error for Matlab on Ubuntu 15.06 and higher, and on Ubuntu derivated platforms like Kubuntu. I had this error myself also, while using Kubuntu 15. There is a solution on the forum of Mathworks, which I will copy for you here. With this solution I was able to solve the issue:

摘要

在Ubuntu 15.04和更高版本以及从这些版本派生的发行版上启动期间,MATLAB崩溃

MATLAB crashes during startup on Ubuntu 15.04 and newer, as well as distributions derived from those versions

说明

使用Ubuntu Linux发行版15.04和更高版本以及从这些版本派生的发行版时,MATLAB可能会在启动期间崩溃.

When using Ubuntu Linux distributions 15.04 and newer, as well as distributions derived from those versions, MATLAB can crash during startup.

之所以会发生崩溃,是因为这些发行版包含的libstdc ++.so.6版本比MATLAB随附的版本(6.0.17版)更高.当MATLAB首次加载6.0.17版本时,操作系统达到不兼容状态,导致MATLAB崩溃.

This crash occurs because these releases include a newer version of libstdc++.so.6 than the version shipped with MATLAB (version 6.0.17). When MATLAB loads version 6.0.17 first, the OS reaches an incompatibility that causes MATLAB to crash.

解决方法

您可以按照以下说明强制MATLAB加载操作系统提供的库的较新版本:

You can force MATLAB to load the newer version of the library provided by the operating system, by following these instructions:

确定MATLAB的安装位置 导航到此安装文件夹中的sys/os/glnxa64目录 将libstdc ++.so.6库重命名为libstdc ++.so.6.old 我们已经使用libstdc ++.so.6的版本20做了有限的测试.如果在使用此版本的MATLAB时遇到问题,请联系MathWorks技术支持.

Identify the location where MATLAB is installed Navigate to the sys/os/glnxa64 directory within this installation folder Rename libstdc++.so.6 library to libstdc++.so.6.old We have done limited testing with version 20 of libstdc++.so.6. If you experience problems with MATLAB when using this version, please contact MathWorks technical support.

原始帖子: https://www.mathworks.com/support/bugreports/1297894

这篇关于MATLAB无法在Ubuntu 16.04上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆