Problems using pmtk3 in OS X

I'm trying to use Kevin Murphy's pmtk3 software.
I've encountered problems when the loadData() function is called. I think I've narrowed it down to the stat() function call in loadData().
I can't find the stat() function using help stat. I think the stat() function called might be the PERL stat function.
Any suggestions & help is appreciated.

回答 (1 件)

john
john 2014 年 3 月 28 日
編集済み: john 2014 年 3 月 28 日

0 投票

Hi,
I had the same problem. Here's a work around, not especially elegant. I downloaded the data files manually and unzipped them into the C:\pmtk3-master\pmtkdataCopy directory (should be a bunch of directories, one for each data set). Then I modified the code in loadData.m to
%[info,msg,err] = stat(dest);
%if (msg == 0)
if(true)
to bypass the stat function completely. Since this function is supposed to check whether the data has already been downloaded eveything should work fine.

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

質問済み:

2014 年 3 月 11 日

編集済み:

2014 年 3 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by