フィルターのクリア

From spreadsheet in simulink ....How to deal with inf problem

4 ビュー (過去 30 日間)
Ill ch
Ill ch 2019 年 9 月 25 日
コメント済み: Ill ch 2019 年 9 月 28 日
Dear Simulink user,
i am using from spreadsheet block to uplad on simulink my signal. However i found there limitaions of spreadsheet block is it? anybody know solution to deal with from spreadsheet block?

採用された回答

Ankit
Ankit 2019 年 9 月 26 日
編集済み: Ankit 2019 年 9 月 26 日
hello,
there is problem in your spreadsheet.
I would like to confirm that if your time values are correct.
You just need to replace the "." with ",". (Its german formatted excelsheet)
I just did the above changes and there is no error, model is able to simulate (just use the attached sheet) but my concern is with your time values which are to the power of 7.
Thanks
Ankit
  8 件のコメント
Ankit
Ankit 2019 年 9 月 27 日
編集済み: Ankit 2019 年 9 月 27 日
Is there any reason you are using Variable-step solver?
One way you can avoid this is by setting the Sample time in Spreadsheet block to small value (for e.g. 1e-8) as your time values are very small.
The Sample time parameter specifies the sample time that the From Spreadsheet block uses to read data from the spreadsheet.
-1 value inherits the value the from the block into which the From Spreadsheet block feeds data.
Just for your understanding try changing the sample time from 1e-5, 1e-7 and 1e-8 and see the corresponding plots.
I think most of your settings are auto. I would recommend you go through this page:
All the best!
Ill ch
Ill ch 2019 年 9 月 28 日
no there are not any reason. I will try it . Thank you very much
if i will have any question will late you know

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by