Undefined function 'Datatime' for input arguments of type 'double'.

Answers (2)

What is Datatime? is it a function you wrote?

4 Comments

Sorry..should've mentioned!!!
Are you sure, your fuction Datatime is in your current folder? type
dir Datatime.m
What did you get?
Ya I realised that now...I corrected it...Tnx a lot...

Sign in to comment.

To use a function, store the M-file, here Datatime.m in a folder, which is included in the path. You can either use addpath('C:\YourFolderName', '-end') or the pathtool command to add folders to the Matlab path, while the last can be started through the menus also (and probably in the ribbons?!).

1 Comment

Thanks a lot!! Tht helped...I stored the file with a different name!!! I changed it now...n it works...

Sign in to comment.

Asked:

on 8 Aug 2013

Community Treasure Hunt

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

Start Hunting!