Skip to content

Better MEngineError error messages  #115

@yakir12

Description

@yakir12

Hi!
I'm on Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06). I can start MATLAB fine from a terminal, but for some reason MATLAB.jl failed to open a MATLAB engine session:

yakir@debian:~$ julia
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.6.0 (2017-06-19 13:05 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  x86_64-pc-linux-gnu

julia> using MATLAB

julia> mat"1+1"
ERROR: MATLAB.MEngineError("failed to open a MATLAB engine session")
Stacktrace:
 [1] MATLAB.MSession(::Int64) at /home/yakir/.julia/v0.6/MATLAB/src/engine.jl:20
 [2] get_default_msession at /home/yakir/.julia/v0.6/MATLAB/src/engine.jl:79 [inlined]
 [3] eval_string(::String) at /home/yakir/.julia/v0.6/MATLAB/src/engine.jl:134

shell> matlab
MATLAB is selecting SOFTWARE OPENGL rendering.
<MATLAB started and I can use it>

This is a fresh install of Debian, so maybe I'm missing something..?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions