MATLAB Answers

Functions which help share data between MATLAB, Simulink and App Designer.

1 ビュー (過去 30 日間)
Krishnaraja Sagar
Krishnaraja Sagar 2020 年 9 月 30 日
回答済み: Nitin Kapgate 2020 年 10 月 6 日
I need to make multiple connections between MATLAB, Simulink and App Designer. What are the functions used to send data of a signal from
  1. App Designer to Simulink ?
  2. MATLAB workspace to Simulink ?
  3. Simulink to App Designer ?
And are there any other ways to initialize a system to a simulink block other than from MATLAB ?

  0 件のコメント

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

採用された回答

Nitin Kapgate
Nitin Kapgate 2020 年 10 月 6 日
To understand the exchange of data between Simulink model and App Designer, you can refer to this example that walks you through the workflow of creating a simulation app in App Designer and using Simulink Compiler to deploy it.
You can use From Workspace block in Simulink to use data from MATLAB workspace in Simulink modelling.
In order to initialize the system from Simulink, you can use Initialization Function (InitFcn) callback function.

  0 件のコメント

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

その他の回答 (0 件)

カテゴリ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by