How can I export a model created in simulink to an external application?
1 次查看(过去 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!