Simulating a battery power level
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
I'm using a patch to simulate a vehicle moving around a 2D environment and I would like to give it a battery.
Is there a way to create a counter that counts down from 100(%) when the patch is moving (battery is draining) and counts up (charging) when the patch is at the specified charging point?
It would be great if the timer could count up/down at variable rates.
0 件のコメント
回答 (0 件)
この質問は閉じられています。
コミュニティ
その他の回答 パワー エレクトロニクス コミュニティ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!