how to get graph using scope block in simulink

3 ビュー (過去 30 日間)
Poornima Chandra Lekha Posa
Poornima Chandra Lekha Posa 2021 年 2 月 22 日
回答済み: Keerthana Chiruvolu 2021 年 2 月 25 日
i have attached a discharge file, in the first sheet, it includes date in one coloumn and data in the second.
i need scope block to show time versus discharge data graph in simulink.
how to import these data and how to output it.

回答 (1 件)

Keerthana Chiruvolu
Keerthana Chiruvolu 2021 年 2 月 25 日
Hi,
You can import the data from the excel sheet to the MATLAB Workspace as variables (refer the link), then use these variables in Simulink.
To plot the data, you may use Scope, XY Graph blocks.
Note: Large data (3651-by-2) may take longer simulation time.

カテゴリ

Help Center および File ExchangeInteractive Model Editing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by