How can I export a model created in simulink to an external application?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Nikhilesh
le 15 Mai 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 commentaires
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!