How can I run a .app mac programme from matlab?

How can I run a programme on a mac this is a .app programme for use through the terminal such as a .exe that runs on windows through the cmd prompt?
I am trying to use xfoil for analysis of aerofoils. I can get it to work on windows with xfoil.exe but I have now moved to a mac and wish to do the same with xfoil.app for mac.
I've tried using the same command '!xfoil.exe' but when I try with '!xfoil.app' it fails to open.
Can anyone help at all?

 採用された回答

Geoff Hayes
Geoff Hayes 2017 年 2 月 2 日
編集済み: Geoff Hayes 2017 年 2 月 2 日

0 投票

Aaron - try using the system function. On my Max OS X 10.11.6 running MATLAB R2014a, I can launch Safari from the MATLAB command line as
>> system('open -a Safari')
Perhaps you can do the same for xfoil.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2017 年 2 月 2 日

編集済み:

2017 年 2 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by