I want to run my .m script in cloud like AWS or Google Cloud

2 vues (au cours des 30 derniers jours)
saurabh nale
saurabh nale le 5 Sep 2023
Actually i have a script which contain a function which accept the input as signal and gives output as an image, I want to implement the feature in my mobile app where user can convert his signal in to image in cloud.

Réponses (1)

Pratyush Swain
Pratyush Swain le 12 Sep 2023
Hello Saurabh,
To execute your function script in a cloud instance and enable communication with a mobile application, you can follow these steps:
  1. Create an account with the chosen cloud platform to ensure you have access to their services.
  2. Set up a cloud instance on the platform and install MATLAB. Transfer your MATLAB script to the cloud instance.
  3. Install any necessary dependencies or toolboxes required by your script on the cloud instance. Ensure that the cloud instance can handle data transfer and conversion between the mobile app and the cloud.
  4. Establish a connection between the mobile application and the cloud instance using communication protocols like REST API or WebSocket.
  5. Send the input signal from the mobile app to the cloud instance. Receive the generated image as a response from the cloud instance and display it in the mobile application.
Please follow the given resources regarding how to run MATLAB in cloud: MATLAB on AWS & MATLAB on Azure
Hope this helps.

Catégories

En savoir plus sur Licensing on Cloud Platforms dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by