필터 지우기
필터 지우기

Simulink program memory usage when converted to Android

조회 수: 1 (최근 30일)
Paramonte
Paramonte 2022년 11월 17일
댓글: Sutanu Maiti 2023년 7월 27일
Hi there
We have a Simulink model to process time series sampled at fs= 4Hz.
Is working fine in Simulink.
We would like to estimate how much this program would require, memory wise, to run in a, say, mobile Andoid system, after deployment.
We dont need exact numbers. An approximate ball figure would sufice.
Also any idea how to estimate processing needs in the android system, given the Simulink performance?
Thanks in advance.
  댓글 수: 1
Sutanu Maiti
Sutanu Maiti 2023년 7월 27일
You can estimate the memory usage of your Simulink model by running it on an Android device and checking the memory usage using the dumpsys meminfo command. Once you have deployed your Simulink model on the Android device using the 'Simulink Support Package for Android Devices', you can use the following ADB command to get the memory information:
adb shell dumpsys meminfo com.example.<model_name>
Replace <model_name> with the actual simulink model name of your deployed Simulink model.
Regarding the processing needs, it is challenging to provide an accurate estimate without examining the model itself. However, modern Android phones are quite powerful and can handle complex computations efficiently. As long as your model is not too computationally intensive, it should run well on an Android device.
Keep in mind that the actual memory usage and performance may vary depending on the specific device and its capabilities. It is recommended to test your model on the target Android device to get a more precise understanding of its memory usage and processing needs.
If you have any further questions or need additional assistance, feel free to ask.
Thank you!

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by