I want to send a picture by email to an email address at "Outlook.com" using MATLAB
Mostra commenti meno recenti
Hi
I want to send a specific picture to an email address using Matlab gui
I know how to browse and select a picture, but I want to send the picture that I selected to send it to any email.
Thanks :)
See attachment.
Risposta accettata
Più risposte (1)
Ken Atwell
il 6 Set 2014
0 voti
You can use sendmail, though you will need to save the image to a temporary file (attachments can only be files).
4 Commenti
Image Analyst
il 6 Set 2014
You can but it needs to be in a file saved to disk rather than directly as a variable right out of the script. If you were to put an image variable into the body of the message it would look like gibberish, so it has to be an attachment. Attachments have to be files saved on your disk.
Abdullah
il 7 Set 2014
Ken Atwell
il 11 Set 2014
Trying using a function like imwrite to create a image file on disk, then attached it to the email as one of the parameters to sendmail.
Categorie
Scopri di più su Programming in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!