In simulink plot time range gets locked
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
When I plot a figure in real time. time range is set as 100 seconds. The plot get stopped after 50 seconds.
In simulink real time following parameters are set: Solver options Fixed step size:0.0005 Solver:ode4 Runge Kutta In scope: sampling time is :0.0005
Any help please
採用された回答
Anuj
2014 年 2 月 11 日
Have You unchecked limit data points to last?
8 件のコメント
abhijit kulkarni
2014 年 2 月 11 日
Yes I unchecked that. Still the problem is same.
Anuj
2014 年 2 月 11 日
Do you get any error/warning? Does simulation stop after 50s or only the plot you get is for 50s?
abhijit kulkarni
2014 年 2 月 11 日
No error message and simulation works for complete 100 seconds well.
It seems You have specified 100 s time range in scope and your simulation time is different. If so, change the scope block time range to auto and run simulation for the time period for which you need plot. It should work, Otherwise you can consider uploading your model.
Regards
abhijit kulkarni
2014 年 2 月 11 日
Did Auto. Doesnt make any improvement.
I observed in : Simulation\Configuration parameters\Data Import Export\Limit Data Point To Last is set to 1000 with Decimation of 1. Format is array.
Does that make any problem?
Anuj
2014 年 2 月 11 日
If you are plotting the signal using command window, there might be some problem, are you plotting it through command or through scope block? and what is the simulation time you are using?
abhijit kulkarni
2014 年 2 月 11 日
Thr scope. Simulation time is 100 seconds.
abhijit kulkarni
2014 年 2 月 11 日
Unfortunately thats not possible.
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で General Applications についてさらに検索
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
