# Fail to call for Matlab 2022b through "MATLAB.jl"

**URL:** <https://discourse.julialang.org/t/fail-to-call-for-matlab-2022b-through-matlab-jl/88200>\
**Category:** General Usage\
**Created:** [October 4, 2022, 2:07am UTC](https://discourse.julialang.org/t/fail-to-call-for-matlab-2022b-through-matlab-jl/88200 "2022-10-04T02:07:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lionisxn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lionisxn/32/37989_2.png) [@lionisxn](https://discourse.julialang.org/u/lionisxn)\
**Post date:** [October 4, 2022, 2:07am UTC](https://discourse.julialang.org/t/fail-to-call-for-matlab-2022b-through-matlab-jl/88200/1 "2022-10-04T02:07:53Z")

</div>

I often call for matlab in Julia for some comparison purposes. Everything goes well in MATLAB 2021B. However, it crashed after I upgraded MATLAB to the new version of 2022b in Windows 11. I have rebuilt the package in Julia. and also set the environment variable MATLAB\_ROOT = “D:\Program Files\MATLAB\R2022b” and registered the comserver. Does anyone encounter the same problem?

 ![微信截图_20221004131716](https://global.discourse-cdn.com/julialang/original/3X/a/b/ab349c59c7c09a5ad653007795981b0967a46c2b.png)

 ![微信截图_20221004095821](https://global.discourse-cdn.com/julialang/original/3X/2/4/249cee8a91aacffee573cfd0f92b56c554c8d4ce.png)
