Rank: 331684 based on 0 downloads (last 30 days) and 0 file submitted
photo

Scott

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Scott View all
Updated File Comments Rating
25 Sep 2013 Get Dependent Files This function returns a list of dependent files called by scripts, functions, and classDef files. Author: Mark

Works perfectly. Thanks!

29 Jul 2013 Smart PowerPoint Exporter Exports Matlab figures to PowerPoint. Fixes formatting directly in PowerPoint to allow easy editing. Author: Dmitriy Aronov

Very useful!

22 Mar 2013 Convert between world time zones with daylight saving times This is a very simple yet powerful function to convert a datenum from one timezone to another. Author: Erwin Mayer

Hi Erwin, thanks for the reply.

I tried to remove the dependency on the financial toolbox and this almost worked: for Germany, the transition from/to daylight savings times happens at midnight, which isn't correct:
http://www.timeanddate.com/worldclock/timezone.html?n=37

But since I'm not totally certain about what the dependency-causing financial toolbox functions do, the problem might lie with my hacks. Here's the change I made to TimezoneConvert.m:

% Remove dependence on financial toolbox
% t1.set(year(dn), month(dn)-1, day(dn), hour(dn), minute(dn), second(dn))

[Y, M, D, H, MN, S] = datevec(dn);
t1.set(Y, M-1, D, H, MN, S);

Does this hack give the same answer as when using the FT functions?

21 Mar 2013 Convert between world time zones with daylight saving times This is a very simple yet powerful function to convert a datenum from one timezone to another. Author: Erwin Mayer

When I run it, I get the error:

??? Undefined function or method 'year' for input arguments of type 'double'.

Error in ==> TimezoneConvert at 11
t1.set(year(dn), month(dn)-1, day(dn), hour(dn), minute(dn), second(dn))

Does this require the financial toolbox?

08 Apr 2012 Save Multiple Figures in a click Save multiple figures with a GUI in several formats. No need to save all figures one-by-one anymore! Author: Nicolas Beuchat

Handy! One suggestion: if the output directory doesn't exist, offer to make it. I expected this because it already makes directories for the different file types.

Contact us