Can Stateflow use Microsoft Excel data for simulation input?

3 vues (au cours des 30 derniers jours)
Andres
Andres le 6 Juin 2011
I want to input data that I have in excel into Stateflow and use this data to run simulations in Stateflow. The data in excel is a large amount of values used for the different variables in my Stateflow chart.

Réponse acceptée

Arnaud Miege
Arnaud Miege le 6 Juin 2011
Import the data into MATLAB using import wizard or xlsread. You can then use it as input(s) for your Simulink/Stateflow model with the Signal Builder or From Workspace blocks. Have a look at Data Import and Export in the MATLAB documentation.
HTH,
Arnaud

Plus de réponses (0)

Catégories

En savoir plus sur Complex Logic dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by