Generate .exe or any other executable for simulink model

4 ビュー (過去 30 日間)
giulio zamboni
giulio zamboni 2019 年 4 月 15 日
回答済み: Desirae 2024 年 1 月 29 日
Is it possible to generate an executable file from a simulink model that can run on a pc where there is not matlab&simulink installed?

回答 (2 件)

Mark McBroom
Mark McBroom 2019 年 4 月 15 日
Yes, this can be done if you have a Simulink Coder license.
  2 件のコメント
giulio zamboni
giulio zamboni 2019 年 4 月 16 日
Thanks. Could you give me a link of a tutorial (doesn't matter if video or text) of this procedure?
As a result can I achieve also to have a graphic interface in my executable standalone? I'll try to explain better the application.
Suppose that I have to simulate a process in which I have some sources, let's supposte constant sources. The point is that I would like to allow the user itself to decide how many sources to put in the model and then to decide for each of them the value of the constant.
In this way I would like to allow the user itself to build his own model, but with some constraits given in the original model (my model).
Anyway in you could post a tutorial link then I'll try to see what I can achive.
Thank you so much
Mark McBroom
Mark McBroom 2019 年 4 月 20 日
There are a couple of approaches depending on how you plan to get input data and capture output results for the simulation. THe easiest way is to use the FromFile and ToFile blocks to read/write data from a .mat file for simulation.

サインインしてコメントする。


Desirae
Desirae 2024 年 1 月 29 日
I am trying to generate an executable file from Unreal Engine to use in my Simulink model. However, every time I try to package my project I am getting an error. I think the most important error is “UATHelper: Packaging (Windows (64-bit)): ERROR: Could not find definition for module ‘MathWorksAerospace’, (referenced via MyProject_Intersect.uproject → MathWorksSimulation.uplugin)
PackagingResults: Error: Could not find definition for module ‘MathWorksAerospace’, (referenced via MyProject_Intersect.uproject → MathWorksSimulation.uplugin)”
I’m not sure how to resolve this issue, have you ever seen something like this before?
Attached is the full error log.

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by