How to use from workspace block

2 views (last 30 days)
EngTat Chung
EngTat Chung on 31 Jan 2020
Commented: EngTat Chung on 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 Comments
stozaki
stozaki on 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 on 2 Feb 2020
Ahhh I can read the values using the from spreadsheet block! Thank you very much!

Sign in to comment.

Accepted Answer

stozaki
stozaki on 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.

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!