How do i open an external app through Matlab?

I wan to ask if there is any possible way that Matlab can open an external app. To be more exact, i am building a matlab script that generates a .py file, which after i open it in DIANA and take the results i want, like Distributed Moments and Displacements. Because, the total combinations i will be calculating will be about 3000, i want to find a way to open automatically DIANA and run the .py file, without needing any to do it one by one every time. As the Matlab community can understand, i am not a pro when it comes to coding. So, any kind of hlep will be well appreciated.

回答 (1 件)

Image Analyst
Image Analyst 2022 年 10 月 30 日

0 投票

Use the system function.
Also MATLAB can run Python code. Google it and you'll find the relevant page that tells you how.

カテゴリ

質問済み:

2022 年 10 月 30 日

回答済み:

2022 年 10 月 30 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by