How do I create a time-dependant variable from a table ?

2 ビュー (過去 30 日間)
Tamino
Tamino 2024 年 10 月 14 日
コメント済み: Tamino 2024 年 10 月 17 日
Hello everyone, I would like to create a timedependant variable from an excel-table to use as an input in a Simulink-model. What would be a good way to do that ?
To give a concrete example, I would like to compare the performance of a windturbine with different stats (purely mathematical) for a given real measurement of windspeed over time. The windspeed is in an Excel-sheet and the time for the given window can be noted both absolute or as the time of day.
How do I create that variable or is there another way to get that information into Simulink ?
I am still very inexperienced with this software, so please feel free to be ellaborate.
Thank you for your answers in advance.

回答 (1 件)

Harald
Harald 2024 年 10 月 14 日
Hi,
if your Excel spreadsheet is formatted as required, then the From Spreadsheet block will be the most convenient:
In other cases, please attach a sample file for better advice.
If you have not noticed them, please consider our Onramps for getting started:
Best wishes,
Harald
  1 件のコメント
Tamino
Tamino 2024 年 10 月 17 日
Thank you, I completely missed that block.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by