How can I export a model created in simulink to an external application?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to export a model created in Simulink (Matlab 2023a, Windows 10 Edu) "model_U1.slx" to an external file so that I can run it without Matlab. With the use of "Simulink Coder" toolbox a file with the *.exe extension was created, but after I run *.exe file the following problems appear:
1. there were errors about missing files with the *.dll extension,
2. after pasting the missing *.dll files into the model directory, another error appears: "Procedure entry point __CxxFrameHandler4 not found in library C:\Windows\System32\ole32.dll."
Besides, I also tried to create Docker. After running it, there is a structure like in fig.1, and a view after starting (fig.2), but it doesn't work.
How can I export a model created in Simulink to an external application properly?
댓글 수: 0
답변 (1개)
Nikhilesh
2023년 5월 15일
Hi Monika,
You are definitely in correct direction.
The error message "Procedure entry point __CxxFrameHandler4 not found in library C:\Windows\System32\ole32.dll" suggests that there may be a mismatch between the version of the DLL file and the version of the Windows operating system. Try updating the Windows operating system or reinstalling the DLL file to resolve the issue.
You can also have a look at the following documentation of how to biult standalone applications using MATLAB Compiler
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!