Effacer les filtres
Effacer les filtres

Can I send image from Matlab to iPhone?

16 vues (au cours des 30 derniers jours)
thayanee ruennark
thayanee ruennark le 11 Sep 2018
Réponse apportée : Walter Roberson le 14 Juil 2024 à 22:47
Hi,I'm developing iOS app. then,I need the results from Matlab and show it on application. Are there any solutions of Matlab for sending the image to iPhone. Could someone help me an example or recommendations ? I would be really appreciated. Thank you so much:)
  1 commentaire
Umar
Umar le 14 Juil 2024 à 7:23
Modifié(e) : Walter Roberson le 14 Juil 2024 à 22:34
Hi thayanee,
Save the image in a format that can be easily read by the iOS app, such as PNG or JPEG.Here is an example code snippet in Matlab to save an image as a PNG file:
% Create a sample image
image = rand(256,256,3);
% Save the image as a PNG file
imwrite(image, 'sample_image.png');
For more information on imwrite function, please refer to
Once the image is saved, you can transfer it to your iOS app using various methods like HTTP requests, FTP, or cloud storage services. Afterwards, in the iOS app, you can then retrieve the image and display it as needed.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 14 Juil 2024 à 22:47
With this toolbox, you can create Apple iOS app with MATLAB, including:
* Display images and play video on iPhone/iPad screen

Catégories

En savoir plus sur MATLAB Mobile 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