フィルターのクリア

how to connect existing matlab code (.m) file with app designer in matlab?

46 ビュー (過去 30 日間)
md sazzad
md sazzad 2023 年 5 月 17 日
回答済み: Mrinal Anand 2023 年 7 月 8 日
Hello sirs,
I am new in app designers in matlab. i would like to see the results in app designer from my existing program (.m) file. how can i do interact with those 2 file .m) file and with app designer pls?
  1 件のコメント
Rik
Rik 2023 年 5 月 17 日
If your m file is a function, you can simply call it like any other function. If it is a script you should first change that.

サインインしてコメントする。

回答 (1 件)

Mrinal Anand
Mrinal Anand 2023 年 7 月 8 日
As Rik mentioned, you can simply call functions from .m files in the App Designer callbacks/functions. Ensure that the App Designer file (.mlapp) and the .m files are in the same folder, if you want to call the functions directly. Otherwise, you would probably have to specify the file path.

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by