How do I check for conflicts in appointments in Outlook from Matlab?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ashleen Hayes
am 19 Jan. 2017
Beantwortet: the cyclist
am 19 Jan. 2017
I currently have code that will create an appointment at a certain date and time. I am trying to check to see if this appointment will be in conflict with anything else on my Outlook Calendar. This is my current if statement block
if appointment.Conflicts.Count > 0
prompt = 'You are busy during that time, choose another start date and time ';
appointment.Start = input(prompt);
prompt = 'and duration in minutes ';
appointment.Duration = input(prompt);
end
Whether I have an appointment or not in the same time slot, the conflicts count is always 0 and the code does not go through the if block.
0 Kommentare
Akzeptierte Antwort
the cyclist
am 19 Jan. 2017
I've never tried to do anything like this, so I am certainly no expert. But I was curious, and did find this old Stack Overflow answer. It states that that variable tracks edit conflicts (e.g. when syncing devices), not scheduling conflicts. The answers there seem to have a couple suggestions.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!