Can we get Battery laptop indicator in simulink??
이전 댓글 표시
hi all
i just wanna ask, can we get battery laptop indicator level in simulink??? how???
thanks
채택된 답변
추가 답변 (1개)
Ken Atwell
2011년 8월 1일
Using .NET may be easier than win32:
NET.addAssembly('System.Windows.Forms')
powerStatus = System.Windows.Forms.SystemInformation.PowerStatus
powerStatus.BatteryLifePercent % returns a number between 0 and 1
커뮤니티
더 많은 답변 보기: Power Electronics Community
카테고리
도움말 센터 및 File Exchange에서 Naming Conventions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!