Standalone executable calling dynamic function
조회 수: 1 (최근 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!