Can Stateflow use Microsoft Excel data for simulation input?

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.

 채택된 답변

Arnaud Miege
Arnaud Miege 2011년 6월 6일

3 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Decision Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by