Filter löschen
Filter löschen

Standalone executable calling dynamic function

1 Ansicht (letzte 30 Tage)
Kris
Kris am 3 Jul. 2012
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.

Antworten (0)

Kategorien

Mehr zu Call C++ from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by