What is the easiest way to import all workspace data into a Simulink file for Simulink Coder?

1 回表示 (過去 30 日間)
Evan Taylor
Evan Taylor 2022 年 11 月 28 日
回答済み: Suvansh Arora 2022 年 12 月 1 日
I am doing some model integration for a system that has an initialization script that generates workspace data, which then is used to run a simulink simulation. I want to compile this simulink file as an executable to maximize run speed, but I need to import the data.
Is there a way to import all of the workspace data? Or will I have to use inport blocks for each instance?
I am also having errors with the root inport tool, which spurred this question

回答 (1 件)

Suvansh Arora
Suvansh Arora 2022 年 12 月 1 日
Two ways that you can use to automate the process of using workspace data in Simulink are mentioned below:
I hope the above information helps you.

カテゴリ

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

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by