How do i open an external app through Matlab?

3 views (last 30 days)
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.

Answers (1)

Image Analyst
Image Analyst on 30 Oct 2022
Use the system function.
Also MATLAB can run Python code. Google it and you'll find the relevant page that tells you how.

Community Treasure Hunt

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

Start Hunting!