pmtk3 icon indicating copy to clipboard operation
pmtk3 copied to clipboard

Installationproblem

Open ido opened this issue 11 years ago • 1 comments

From stev.gerson on May 24, 2013 05:13:15

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: http://code.google.com/p/pmtk3/issues/detail?id=58

ido avatar Jan 04 '14 01:01 ido

From stev.gerson on May 24, 2013 03:33:15

Possible Solution :

in scrapePmtkSupport function

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

ido avatar Jan 04 '14 01:01 ido