Menu function not working on matlab mobile
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi there,
pretty simple question: i made a script with a menu function in it, transferred the matlab file to my phone and when i run it, the menu shows up as a figure. (non interactable)
Does anyone know a fix for this? ty in advance
2 comentarios
Respuestas (1)
Ayush
el 17 de Jul. de 2023
Hi Liam De Potter,
As per my understanding you are trying to run a script which has the "menu" function which you created probably on MATLAB desktop or MATLAB online on MATLAB mobile.
The behavior and functions of the MATLAB script may differ from running in a desktop environment when it is performed on another platform, e.g. Mobile devices. The "menu" function, which typically creates an interactive menu based on text in the MATLAB Command Window, may not work as expected on a mobile device.
Mobile devices generally do not have a MATLAB Command Window or support the same interactive text-based interface. Therefore, when running the script on your phone, the "menu" function may display as a figure, but it will not be interactable.
In order to develop an interactive user interface for a mobile device, it is necessary to utilize a mobile application development framework or application development tool that is compatible with the relevant platform (i.e., Android, iOS, etc.). MATLAB offers the capability to develop mobile applications using App Designer and MATLAB Mobile application, however, this requires additional steps and considerations other than simply executing a MATLAB script.
If you want to run MATLAB scripts on your phone with a graphical user interface, you may need to explore options such as developing a mobile app using MATLAB Mobile. MATLAB Mobile allows you to create and run MATLAB code on your mobile device. You can use App Designer to design the user interface and incorporate MATLAB code for the desired functionality.
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Mobile en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!