gorillayue / pmtk3

Automatically exported from code.google.com/p/pmtk3
MIT License
0 stars 0 forks source link

Installationproblem #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.run initPTMK3 in Matlab 2010b

What is the expected output? What do you see instead?

initializing pmtk3
???  Index of element to remove exceeds matrix dimensions.

Error in ==> scrapePmtkSupport at 16
packages(1) = []; % remove '..'

Error in ==> downloadAllSupport at 12
packages = scrapePmtkSupport([], exclude);

Error in ==> initPmtk3 at 49
    downloadAllSupport();

What version / revision of the product are you using? On what operating
system?

last PTMK, Matlab 2010b

Please provide any additional information below.

In my mind the Problem is one line before (raw =tokenize(...). espacially in 
the function tokenize because the delimiter should be \n but there is no 
character in the string which is read by the function urlread. thtaswhy the 
variable package is empty. I think i found the problem but i have no solution. 
Did anybody have a solution?

Original issue reported on code.google.com by stev.gerson on 24 May 2013 at 9:13

GoogleCodeExporter commented 9 years ago
Possible Solution : 

in scrapePmtkSupport function

raw = tokenize(urlread(url), '=');
packages = filterCell(raw, @(c)startswith(strtrim(c), '"'));
packages(1) = []; % remove '..'
start = '"';

Original comment by stev.gerson on 24 May 2013 at 10:33

GoogleCodeExporter commented 9 years ago
Moved to GitHub: https://github.com/probml/pmtk3/issues/58

Original comment by irosen on 4 Jan 2014 at 2:38