Visual Basic and Matlab

11 ビュー (過去 30 日間)
Ivan
Ivan 2011 年 9 月 5 日
hi,
I'm doing a GUI with Visual Basic 6. It does this through the shell
Call Ejecutar_shell("C:\Program Files\MATLAB\R2010b\bin\matlab -r")
Someone can help me because I want to call a matlab GUIDE done in some file or *. mdl
Thank very much for the info

採用された回答

Fangjun Jiang
Fangjun Jiang 2011 年 9 月 5 日
If you have the MATLAB GUIDE application done, it should have some files for it, such as MyGui.fig, MyGui.m, make sure they are in your MATLAB path.
Do the following will automatically run MyGui after MATLAB starts.
Call Ejecutar_shell("C:\Program Files\MATLAB\R2010b\bin\matlab -r MyGui")

その他の回答 (1 件)

Ivan
Ivan 2011 年 9 月 6 日
hi, thanks for the reply...
works with a brief adjustment to place all files in the same folder...
thanks.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by