I want to send via gmail the variable not as attachment but display its content which is a row of numbers. How can I do that?

댓글 수: 1

bashar halleem
bashar halleem 2020년 5월 20일
Hi Geoff. I has a question about matrices, if you have a time to take a look pls.

댓글을 달려면 로그인하십시오.

 채택된 답변

Geoff Hayes
Geoff Hayes 2015년 1월 4일

2 개 추천

AA - try using sendmail. See the gmail example at this link. If you want your message to be a row of numbers, then try something like
A = [1 2 3 4 5];
% convert the row of numbers to a string (message)
msg = num2str(A);
% send the email
sendmail('some_address@gmail.com', 'My Subjsect', msg);
The above assumes that you have set the properties appropriately for sending email using a gmail account. (Again see the link for details.)

추가 답변 (0개)

태그

질문:

AA
2015년 1월 4일

댓글:

2020년 5월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by