How to use from workspace block

1 次查看(过去 30 天)
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 个评论
stozaki
stozaki 2020-1-31
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 2020-2-2
Ahhh I can read the values using the from spreadsheet block! Thank you very much!

请先登录,再进行评论。

采纳的回答

stozaki
stozaki 2020-2-2
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by