how to read excel from from Simulink chart
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Lau Boon Chong
le 22 Déc 2019
Commenté : Lau Boon Chong
le 8 Jan 2020
Hi All
Below is the code for the chart of Simulink and the corresponding error. Anyone can help me solve the error? Thank
![chart.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256715/chart.jpeg)
![error of chart.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/256716/error%20of%20chart.png)
0 commentaires
Réponse acceptée
stozaki
le 7 Jan 2020
Hello,
Thank you for your question about Stateflow chart.
It looks like you want to call the built-in function xlsread of matlab inside Chart.
I have created a simple sample model created by R2019a for your reference.
Access MATLAB Functions and Workspace Data in C Charts (Reference documents)
Regards,
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Programmatic Model Editing 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!