Standalone executable calling dynamic function
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!