Standalone executable calling dynamic function

2 visualizaciones (últimos 30 días)
Kris
Kris el 3 de Jul. de 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.

Respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by