How to call bash script in App Designer?

1 回表示 (過去 30 日間)
Victoria Planchart
Victoria Planchart 2023 年 2 月 14 日
回答済み: Les Beckham 2023 年 2 月 14 日
Hi,
For a project in school I'm trying to do a simple bush and return text.
When the button is pushed, I just need it to call my "helloworld.sh" and displays the "hello world!" text that is on the bash script into the text display. I know I can just simply display hello world from the matlab code but the task is to lear how to call external scripts. (I'm using MAC). It also needs to be able to run from windows and linux.
Thank you!

回答 (1 件)

Les Beckham
Les Beckham 2023 年 2 月 14 日
Read the documentation for this command: system

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by