Devloping an App from MatLab code which uses Simulink and Simscape
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Benjamin Tomka
am 17 Jun. 2021
Kommentiert: Sutanu Maiti
am 22 Jun. 2021
I am looking for the best way to develop an app that has an already developed code in MatLab that works with Simulink and Simscape. I have come across a variety of methods - MatLab Coder, MatLab Mobile, Simulinl Support Packages for Android and iOS and am wondering the best way to approach the app development.
1 Kommentar
Sutanu Maiti
am 22 Jun. 2021
By using a MATLAB Function block with the Simulink Support Package for Android Devices, you can reuse already developed code in MATLAB and deploy automatically as an app on an Android device.
You may consider refering below exmaple:
Akzeptierte Antwort
Shraddha Jain
am 21 Jun. 2021
Hi Benjamin,
I understand that you would like to develop a MATLAB based Application or App that works with Simulink and Simscape.
MATLAB Coder is a toolbox used to generate C/C++ code from MATLAB code. Since you are interested in using Simulink and Simscape, Simulink Coder can be used to generate and execute C and C++ code from Simulink models, Stateflow charts, and MATLAB functions. You can tune and monitor the generated code using Simulink or run and interact with the code outside MATLAB and Simulink. However, you will require additional APIs to convert the generated code into a running application for your Android or iOS device.
As an easier alternative, I would suggest you to directly use Support packages built to create, run and deploy Simulink models on Android and iOS devices. These packages have interface and functions similar to the Apps created using MATLAB Mobile.
For more information on the Simullink Support Packages, refer to these resources:
- Video - Introduction to Simulink Hardware Support for Android and iOS Mobile Devices
- Simulink Support Package for Android Devices
- Simulink Support Package for Apple iOS Devices
Hope this helps!
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Android Devices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!