How can I export a model created in simulink to an external application?

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (1)

Nikhilesh
Nikhilesh il 15 Mag 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

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by