Functions which help share data between MATLAB, Simulink and App Designer.
2 views (last 30 days)
Show older comments
Krishnaraja Sagar
on 30 Sep 2020
Answered: Nitin Kapgate
on 6 Oct 2020
I need to make multiple connections between MATLAB, Simulink and App Designer. What are the functions used to send data of a signal from
- App Designer to Simulink ?
- MATLAB workspace to Simulink ?
- Simulink to App Designer ?
And are there any other ways to initialize a system to a simulink block other than from MATLAB ?
0 Comments
Accepted Answer
Nitin Kapgate
on 6 Oct 2020
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 Comments
More Answers (0)
See Also
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!