# MATLAB.jl crashing in Julia 1.10 for MATLAB later than 2021a (according to issue)

**URL:** <https://discourse.julialang.org/t/matlab-jl-crashing-in-julia-1-10-for-matlab-later-than-2021a-according-to-issue/113998>\
**Category:** General Usage\
**Tags:** matlab\
**Created:** [May 8, 2024, 1:02pm UTC](https://discourse.julialang.org/t/matlab-jl-crashing-in-julia-1-10-for-matlab-later-than-2021a-according-to-issue/113998 "2024-05-08T13:02:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allan\_Baker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/allan_baker/32/42645_2.png) [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Post date:** [May 8, 2024, 1:02pm UTC](https://discourse.julialang.org/t/matlab-jl-crashing-in-julia-1-10-for-matlab-later-than-2021a-according-to-issue/113998/1 "2024-05-08T13:02:14Z")

</div>

Any thoughts on why the issue described below is happening or what can be done to fix it for the current versions? I’m getting the julia crash out when trying `mat"version"`

MATLAB.jl fails to run in Julia 1.10 for versions of matlab later than 2021.

> <https://github.com/JuliaInterop/MATLAB.jl/issues/220>
>
> I receive the following error when trying to lot using the MATLAB engine and Jul…ia 1.10:
> 
> \[31763\] signal (11.1): Segmentation fault
> in expression starting at /home/dkuettel/Documents/cr3bp/LowThrustOpt/testing/CRTBP\_Multishoot\_indirect\_demo.jl:138
> Allocations: 18782664 (Pool: 18765867; Big: 16797); GC: 27
> Segmentation fault (core dumped)
> 
> My matlab code essentially looks like
> 
> mat"""
> plot($x, $y)
> """
> 
> I am using :
> \-Linux Ubuntu 18.04.2 LTS (Bionic Beaver)
> \-Julia Version 1.9.0 (Julia version managed with Jill)
> \-MATLAB.jl v0.8.4 (https://github.com/JuliaInterop/MATLAB.jl/blob/master/README.md)
> \-MATLAB version R2023b
> 
> Everything works fine with Julia version 1.9
