How can I export a model created in simulink to an external application?
10 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Nikhilesh
on 15 May 2023
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 Comments
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!