How to use from workspace block

2 visualizzazioni (ultimi 30 giorni)
EngTat Chung
EngTat Chung il 31 Gen 2020
Commentato: EngTat Chung il 2 Feb 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 Commenti
stozaki
stozaki il 31 Gen 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 il 2 Feb 2020
Ahhh I can read the values using the from spreadsheet block! Thank you very much!

Accedi per commentare.

Risposta accettata

stozaki
stozaki il 2 Feb 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.

Più risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by