MJay
MJay

Reputation: 1058

How set mpv2 for MATLAB?

I'm trying to run these from Karl Skretting for dictionary learning in MATLAB. It is mentioned that mpv2 java package is needed to run these scripts for sparse approximation. where can I find this package and how can i install it so that MATLAB can use its method?

Thanks for your help.

Upvotes: 0

Views: 94

Answers (1)

Mendi Barel
Mendi Barel

Reputation: 3677

You can find it here: http://www.ux.uis.no/~karlsk/dle/mpv2-class.zip

Extract all files to folder named 'mpv2' (so folder structure is: C:\Some\Folder\mpv2)

javaaddpath('C:\Some\Folder\')

And to test for success:

exist('mpv2.SimpleMatrix') %should return 8 indicating class.

Upvotes: 1

Related Questions