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

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 8 月 8 日
編集済み: Azzi Abdelmalek 2013 年 8 月 8 日

0 投票

What is Datatime? is it a function you wrote?

4 件のコメント

Madhav
Madhav 2013 年 8 月 8 日
Yes!!!
Madhav
Madhav 2013 年 8 月 8 日
Sorry..should've mentioned!!!
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 8 月 8 日
Are you sure, your fuction Datatime is in your current folder? type
dir Datatime.m
What did you get?
Madhav
Madhav 2013 年 8 月 8 日
Ya I realised that now...I corrected it...Tnx a lot...

サインインしてコメントする。

Jan
Jan 2013 年 8 月 8 日

0 投票

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 件のコメント

Madhav
Madhav 2013 年 8 月 8 日
Thanks a lot!! Tht helped...I stored the file with a different name!!! I changed it now...n it works...

サインインしてコメントする。

質問済み:

2013 年 8 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by