Simulink program memory usage when converted to Android

1 Ansicht (letzte 30 Tage)
Paramonte
Paramonte am 17 Nov. 2022
Kommentiert: Sutanu Maiti am 27 Jul. 2023
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 Kommentar
Sutanu Maiti
Sutanu Maiti am 27 Jul. 2023
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!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by