データインスペクターにストリーミングされるデータ点を制限する方法はありますか
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hiromichi Suematsu
le 10 Avr 2018
Réponse apportée : Atsushi Matsumoto
le 22 Mai 2018
DashboardのLampブロックを使って信号の可視化を図ろうとしていますが、メモリの消費が大きすぎて困っています。 コンフィギュレーションパラメータの「データのインポート/エクスポート」の「追加パラメータ」で「データ点の制限」にチェックを入れ、適当な値を入力していますが シミュレーション実行中にタスクマネージャでメモリの使用量を見ているとどんどん増加していきます。 また、シミュレーション実行後にデータインスペクターで確認すると、シミュレーション実行した時間分のログが全て記録されています。 MATLABのバージョンはR2016bを使用しています。
0 commentaires
Réponse acceptée
Atsushi Matsumoto
le 22 Mai 2018
ログを取っている信号線のサンプル時間を下げてみてはいかがでしょうか?  
具体的には、Simulink/Signal Attributes/Rate Transitionブロックを追加挿入して、サンプル時間に元の信号線のサンプル時間よりも十分大きな値を設定します。
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Signal Attributes dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!