4.33333

4.3 | 8 ratings Rate this file 9 Downloads (last 30 days) File Size: 32.11 KB File ID: #25698

Create Google Calendar event with SMS and Email notification

by Ofir Perry Bibi

 

31 Oct 2009 (Updated 14 Feb 2011)

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

| Watch this File

File Information
Description

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.

Acknowledgements
This submission has inspired the following:
Matlab to Google Spreadsheets, Get Price of Stocks with Google Stock API
MATLAB release MATLAB 7.7 (R2008b)
Other requirements jvm running in MATLAB for R2009a - https hack optional - Java Compiler
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (20)
21 Jun 2010 Haim

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

22 Jun 2010 AHMET ANIL DINDAR

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.

20 Sep 2010 Oren Schaedel  
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?

08 Oct 2010 AHMET ANIL DINDAR

I wonder whether it works in Linux?

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.

22 Jan 2011 AG

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).

03 Feb 2011 mudchi potato

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

03 Feb 2011 mudchi potato  
03 Feb 2011 mudchi potato

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

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...

06 Feb 2011 mudchi potato

Thankyou

08 Feb 2011 grega

Nice one! Thank you!!

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.

15 Feb 2011 mudchi potato

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

15 Feb 2011 Ofir Perry Bibi

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

16 Feb 2011 mudchi potato

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

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.

27 Feb 2011 AHMET ANIL DINDAR

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 :)

03 Apr 2011 Ted Teng  
Please login to add a comment or rating.
Updates
21 Jun 2010

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

14 Feb 2011

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

Tag Activity for this File
Tag Applied By Date/Time
email Ofir Perry Bibi 02 Nov 2009 10:16:10
sms Ofir Perry Bibi 02 Nov 2009 10:16:10
calendar Ofir Perry Bibi 02 Nov 2009 10:16:11
gmail Ofir Perry Bibi 02 Nov 2009 10:16:11
google Ofir Perry Bibi 02 Nov 2009 10:16:11
notify Ofir Perry Bibi 02 Nov 2009 10:16:11
data export Ofir Perry Bibi 02 Nov 2009 10:16:11
send Ofir Perry Bibi 02 Nov 2009 10:16:11
distributed Ofir Perry Bibi 02 Nov 2009 10:16:11
notification Ofir Perry Bibi 02 Nov 2009 10:16:11
calendar mudchi potato 03 Feb 2011 10:01:15
google Pepe 21 Oct 2011 03:43:09

Contact us at files@mathworks.com