How to use from workspace block

2 visualizaciones (últimos 30 días)
EngTat Chung
EngTat Chung el 31 de En. de 2020
Comentada: EngTat Chung el 2 de Feb. de 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 comentarios
stozaki
stozaki el 31 de En. de 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 el 2 de Feb. de 2020
Ahhh I can read the values using the from spreadsheet block! Thank you very much!

Iniciar sesión para comentar.

Respuesta aceptada

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

Más respuestas (0)

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by