Simulink program memory usage when converted to Android
1 次查看(过去 30 天)
显示 更早的评论
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
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 Center 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!