How to use from workspace block

4 vues (au cours des 30 derniers jours)
EngTat Chung
EngTat Chung le 31 Jan 2020
Commenté : EngTat Chung le 2 Fév 2020
How do I use the from workspace block to input a range of data for solar irradiance? What format of the excel sheet should I have?
  2 commentaires
stozaki
stozaki le 31 Jan 2020
If you have a xlsx file for solar irradiance, could you use a 'From SpreadSheet' block?
Could you attach your xlsx file?
EngTat Chung
EngTat Chung le 2 Fév 2020
Ahhh I can read the values using the from spreadsheet block! Thank you very much!

Connectez-vous pour commenter.

Réponse acceptée

stozaki
stozaki le 2 Fév 2020
Since R2015b, Simulink supports the From Spreadsheet block.
From Spreadsheet can read Excel files directly and output signals to Simulink.
See the documentation for details. : From Spreadsheet
Sample model is as attached.
  1 commentaire
EngTat Chung
EngTat Chung le 2 Fév 2020
Thank you very much!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by