


{"id":314515,"date":"2023-11-02T10:02:56","date_gmt":"2023-11-02T10:02:56","guid":{"rendered":"\/forum\/forums\/topic\/use-matlab-to-call-ansys\/"},"modified":"2023-11-02T10:02:56","modified_gmt":"2023-11-02T10:02:56","slug":"use-matlab-to-call-ansys","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/use-matlab-to-call-ansys\/","title":{"rendered":"Use MATLAB to call ANSYS"},"content":{"rendered":"<p>In matlab, I use statements like this &#8220;s1=&#8221;E:ANSYS2022ANSYSv221ansysbinwinx64ANSYS221.exe -b -i C:UsersLYDesktoptesttxt write to override experimenttest01 (test).txt -o C:UsersLYDesktoptesttxt to write override experiment&#8221;; &#8220;to call ansys and execute the command stream I&#8217;ve written.Now I hope that in this way I can save the calculated stress contour diagram, I don&#8217;t know if this way is possible, I hope you can help me achieve this requirement. I&#8217;ve used a statement like this in the picture in the command flow, but I can&#8217;t save the stress contour diagram. However, I opened ansys APDL and imported the written command stream (.txt) text, which saved the stress contours<img decoding=\"async\" style=\"font-size: 14pt\" src=\"\/forum\/wp-content\/uploads\/sites\/2\/2023\/11\/02-11-2023-1698919334-mceclip0.png\"><\/p>\n","protected":false},"template":"","class_list":["post-314515","topic","type-topic","status-closed","hentry","topic-tag-apdl"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["279051","18229"],"_bbp_author_ip":["96.7.218.215"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["612"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["314515"],"_bbp_forum_id":["27791"],"_bbp_engagement":["18229","279051"],"_bbp_voice_count":["2"],"_bbp_reply_count":["6"],"_bbp_last_reply_id":["315166"],"_bbp_last_active_id":["315166"],"_bbp_last_active_time":["2023-11-07 05:20:08"]},"test":"981192031qq-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/314515","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\/314515\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=314515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}