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

2 views (last 30 days)
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.

Answers (1)

Pratyush Swain
Pratyush Swain on 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.

Categories

Find more on Licensing on Cloud Platforms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!