View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Create Google Calendar event with SMS and Email notification

4.4 | 9 ratings Rate this file 4 Downloads (last 30 days) File Size: 32.1 KB File ID: #25698 Version: 1.2

Create Google Calendar event with SMS and Email notification



31 Oct 2009 (Updated )

A simple tool to create an event with notifications in a Google Calander.

| Watch this File

File Information

This tool allows anyone with a google (gmail) account to create a calendar event with notifications from a .m file script.

This event can contain any information you require and can automatically send you an Email and SMS to notify the event creation.

This tool can be used to create checkpoints in a script with long running times, report the end of the run of a long script , etc.
Using this tool you can insert any Title for the event and textual content including even results from your script.

All you need to make it work is a google username and password.

This is not a tool to send emails like send_email tool for gmail but rather a more sophisticated notifier that can also send a free SMS and create the event that stays in your calendar for you to process later on.


This file inspired View And Add Transaction To Portfolios On Google Finance, Get Price Of Stocks With Google Stock Api, and Matlab To Google Spreadsheets.

MATLAB release MATLAB 7.7 (R2008b)
Other requirements jvm running in MATLAB for R2009a - https hack optional - Java Compiler
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (22)
30 Jul 2016 Selva Karna

Code and script Error

Comment only
06 Dec 2013 Artik Crazy

03 Apr 2011 ted p teng

ted p teng (view profile)


I'm using Ubuntu 10.04.

The program did not work immediately after downloaded. It gave three error messages about authentication and num2str function.
Then, I followed the instruction about updating "classpath.txt" file, restarted MATLAB. And, finally, both SMS and email works (Ans=0).

Thank you Ofir for such a good program.

May the force be with you :)

16 Feb 2011 Ofir Perry Bibi

mudchi - it wouldn't return 0 (in the new version) and not create the event. If you're having trouble, contact me (not via comment) after you checked yourself.

Comment only
16 Feb 2011 mudchi potato

0 = success
Why it isn't create event in google calendar my account.

Comment only
15 Feb 2011 Ofir Perry Bibi

The return value is now an int
0 = success
negative = error

Comment only
15 Feb 2011 mudchi potato

why call function gcaleventor and return Ans = 0 ???

Comment only
14 Feb 2011 Ofir Perry Bibi

There is a new update to the file with an explanation on the problems some people had and some new features.
please take a look and give your comments.

Comment only
08 Feb 2011 grega

grega (view profile)

Nice one! Thank you!!

06 Feb 2011 mudchi potato


06 Feb 2011 Ofir Perry Bibi

Due to some API changes, the component does not currently work. I will fix this as soon as my exams are over and add some features and an instruction video...

Comment only
03 Feb 2011 mudchi potato

ans = 1 But it isn't create event in google calendar .

Comment only
03 Feb 2011 mudchi potato

03 Feb 2011 mudchi potato

I want to youtube clip video to use for this. I can't to use it.

22 Jan 2011 AG

AG (view profile)

Excellent code. Works with R2009a. Please add "start time" and "end time" functionality to make the code even more general and multipurpose. I am using this, not only for the email and sms feature, but also to make a *timeline* of my process (like a "diary" of my process).

10 Oct 2010 Ofir Perry Bibi

Oren - the script works for many people, if you can't get it to work ask for help, don't rate it low.
Ahmet - I saw your message and I think there should be no reason for this not to work in linux. Try recompiling the java to a class file on your linux machine and see if that helps.

Cheers everybody.

Comment only

I wonder whether it works in Linux?

Comment only
20 Sep 2010 Oren Schaedel

I cant get this script to work, all I get is a false result. Furthermore, I can't control the calender that it inserts not the time that it inserts it in. Is there a way to do this?

Comment only
20 Sep 2010 Oren Schaedel


The script is what I was looking for in my long-running processes. Thanks.

Regarding the updating, I think this is not in the scope of the programme since it aims to set fixed checkpoints. At least, this is what I believe.

Comment only
21 Jun 2010 Haim

Haim (view profile)

Does anybody faced the problem when this function actually works but can't update the calendar? (status = 0).

Comment only
21 Jun 2010 1.1

new version bug fix - changed import direction
added pre-compiled class

14 Feb 2011 1.2

Added m file with no class dependence and technical instructions for R2009a and later

Contact us