Effacer les filtres
Effacer les filtres

How can I generate signal from microsoft excell dataset at Simulink ?

2 vues (au cours des 30 derniers jours)
BERK GÖKMEN
BERK GÖKMEN le 30 Avr 2018
Commenté : Ill ch le 27 Sep 2019
Hello everyone I have a problem about Simulink.Now I have Real Power Profile data.(time-dependent power chart) .This is in the excell file. I want to use this data as a signal at Simulink.So,I want to generate a signal from this data. How can I do it ? I need help. Thank you.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 30 Avr 2018
Modifié(e) : Fangjun Jiang le 30 Avr 2018
A few options depending on your situation:
1. Get the Simulink Tester toolbox. It can work with Excel spreadsheet directly.
2. Pre-process your Excel file. Write a script to import your Excel data into MATLAB workspace or save it to a .mat file. The primary function is xlsread().
3. If it is one-time, you can run uiimport to import the Excel data into MATLAB workspace.
4. You can record your interaction using uiimport in a script. This can help you develop the script.
  8 commentaires
Fangjun Jiang
Fangjun Jiang le 26 Sep 2019
Follow the dialog or look at the help of the "From Spreadsheet" block. It should be straightforward.
Ill ch
Ill ch le 27 Sep 2019
thnk you

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by