フィルターのクリア

Standalone executable calling dynamic function

1 回表示 (過去 30 日間)
Kris
Kris 2012 年 7 月 3 日
Hello, I have a function that I want to deploy as a standalone application. The function is of the form: MainFunction function1 function2 function3 return
I've made many standalone executables from *.m code, however the code was always fixed and didn't need to be changed. Now however Function3 will need to change periodically (same number of input/output variables though). From reading about this issue I believe I can compile function3 as a dynamic linked library and then link it to the standalone executable of MainFunction. Do I have this correct? And if so is anyone aware of a good reference example on how to do this?
The thing I'm not clear about (note I don't have a c/c++ background) is how do I compile the function MainFunction.m as a standalone knowing that function3.m needs to change dynamically (and will be replaced often)? I guess I'm asking where is the compiler told to look for this function3.dll file (and not compile in function3.m)?
Hope my question is clear - or at least understandable.
-Kris.

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall C++ from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by