Implement the Software Architecture in MATLAB\SIMLUNK and convert it to C

4 ビュー (過去 30 日間)
Hidd_1
Hidd_1 2023 年 5 月 29 日
コメント済み: Raghava S N 2023 年 6 月 9 日
Hey!
I would like to ask, how do you guys implement the software Architecture in MATLAB\SIMULINK, and how to translate it to a C code, or on a Hex file.

採用された回答

Raghava S N
Raghava S N 2023 年 5 月 30 日
Check out Simulink Coder and Embedded Coder. I think this is what you are looking for.
Simulink Coder - Simulink® Coder™ (formerly Real-Time Workshop®) generates and executes C and C++ code from Simulink models, Stateflow® charts, and MATLAB® functions. The generated source code can be used for real-time and non-real-time applications, including simulation acceleration, rapid prototyping, and hardware-in-the-loop testing. You can tune and monitor the generated code using Simulink or run and interact with the code outside MATLAB and Simulink.
Embedded Coder - Embedded Coder® generates readable, compact, and fast C and C++ code for embedded processors used in mass production. It extends MATLAB® Coder™ and Simulink® Coder with advanced optimizations for precise control of the generated functions, files, and data.
  2 件のコメント
Hidd_1
Hidd_1 2023 年 6 月 6 日
編集済み: Hidd_1 2023 年 6 月 6 日
I mean is there a toolbox in MATLAB that makes you define the software Architecture like Visio for instance? And if implemented in MATLAB how to would be Architecture translated in the C code?
Raghava S N
Raghava S N 2023 年 6 月 9 日
System Composer™ software architectures provide capabilities to author software architectures composed of software components, ports, and interfaces. Use System Composer to design your software architecture model, define the execution order of your functions from your components, simulate your design in the architecture level, and generate code.
I guess this is the closest to what you want that exists in MATLAB.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by