wolffd@0: function [album, mbids] = fm_retrieve_album(album_name) wolffd@0: %[album, mbids] = fm_retrieve_album(album_name) wolffd@0: % wolffd@0: % returns last.fm artist tags and tag weights for given artist wolffd@0: % this uses a lastpy python script to handle the REST data exchange wolffd@0: wolffd@0: % call python function wolffd@0: str = python('fm_retrieve_album.py',album_name); wolffd@0: wolffd@0: % parse text function output wolffd@0: album = textscan(str,'%s %s','Delimiter',','); wolffd@0: mbids = album{2}; wolffd@0: album = album{1};