


{"id":391791,"date":"2024-10-29T15:57:20","date_gmt":"2024-10-29T15:57:20","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/problem-using-matlab-with-lumerical-2024r2\/"},"modified":"2024-10-29T15:57:20","modified_gmt":"2024-10-29T15:57:20","slug":"problem-using-matlab-with-lumerical-2024r2","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/problem-using-matlab-with-lumerical-2024r2\/","title":{"rendered":"Problem using MATLAB with Lumerical 2024R2"},"content":{"rendered":"<p>&lt;p&gt;Hello, I am trying to use MATLAB code within Lumerical 2024 R2 but have encountered some issues. The Matlab integration status looks fine.&lt;\/p&gt;&lt;p&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/10\/29-10-2024-1730216915-mceclip0.png\" \/>&lt;\/p&gt;&lt;p&gt;However, if I try to run some code, e.g. &#8220;p = 0; matlabput(p);&#8221; in the command window, I see Matlab starting (the logo pops up), but immediately after, Lumerical crashes and closes down. The error I get in the terminal (it is on a Linux machine) is:&nbsp; opt\/lumerical\/v242\/bin\/mode-solutions: line 8: 954346 Segmentation fault &nbsp; &nbsp; &nbsp;(core dumped) $MODE_BIN_DIR\/mode-solutions-app &#8220;$@&#8221;.&lt;\/p&gt;&lt;p&gt;On the same computer, doing the same with Lumerical 2022 R2.4 works fine. So, I am wondering how to fix this.&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-391791","topic","type-topic","status-publish","hentry","topic-tag-lumerical","topic-tag-LumericalFDTD-1","topic-tag-Lumericalinstallation-1","topic-tag-LumericalMode-1","topic-tag-lumericalscript-1"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["295946","4274"],"_bbp_author_ip":["195.176.112.20"],"_btv_view_count":["282"],"_bbp_topic_status":["unanswered"],"_bbp_notification_enabled":["295946"],"_bbp_topic_id":["391791"],"_bbp_forum_id":["27796"],"_bbp_engagement":["4274","295946"],"_bbp_voice_count":["2"],"_bbp_reply_count":["7"],"_bbp_last_reply_id":["393051"],"_bbp_last_active_id":["393051"],"_bbp_last_active_time":["2024-11-06 18:34:03"]},"test":"scavallinistudent-ethz-ch"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/391791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/391791\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=391791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}