can i run a .m file from my visual basic application (not excel)

1 回表示 (過去 30 日間)
david edwards jr
david edwards jr 2018 年 11 月 19 日
コメント済み: david edwards jr 2018 年 11 月 20 日
i have a vb application and would like to run a .m script file from the application itself. how can i do this or is it even possible. somehow i have to i think include a reference to matlab a a vb reference. thank you
david

採用された回答

Guillaume
Guillaume 2018 年 11 月 19 日
On a computer that has matlab installed (and licensed), it's easy to call matlab functions from VB. See Matlab API for COM (COM is what you'll be using to talk to matlab) and in particular, the example Call Matlab function from VB.Net client.
  2 件のコメント
david edwards jr
david edwards jr 2018 年 11 月 20 日
i can create the mathlab object. i have a file x.m in a directory. i need to run this file from vba.
david
david edwards jr
david edwards jr 2018 年 11 月 20 日
got it!!! i can run matlab from vba! thank you
david

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by