How to open an email window by clicking on a button

조회 수: 2 (최근 30일)
Jethro
Jethro 2011년 12월 2일
I'd like to know if there's a way to open a std email window by clicking on a Push Button... I'd like to set it like an email-link...
Can anyone help me? Thanks you all!
  댓글 수: 2
Fangjun Jiang
Fangjun Jiang 2011년 12월 2일
What is 'a std email window'? As far as I know, there are dozens of application that can handle email.
Jethro
Jethro 2011년 12월 2일
I want to set a Push Button for sending email... I found the sendmail function, but I don't know how to put it in my code... any ideas?

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

채택된 답변

Walter Roberson
Walter Roberson 2011년 12월 2일
See the documentation for web()
web mailto:email_address
uses your system browser to send mail.
(It doesn't work for me, but I am not working on Windows and I haven't configured email on the system I run MATLAB on.)
  댓글 수: 1
Jethro
Jethro 2011년 12월 3일
I inserted the code in my callback, setting it as you wrote, and it works! I'm using Windows and it opens MS Outlook!
Thanks so much!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by