Is urlread2 function limited to specific matlab versions?

I use the function without any problem on matlab 2014 but with the following error on 2008b. Is it because it is version specific?
Error: No appropriate method, property, or field getProxy for class com.mathworks.net.transport.DefaultComboTCP.

Réponses (1)

Guillaume
Guillaume le 19 Sep 2014
urlread2 is not part of any version of matlab. It looks like you got it off the filexchange.
To make it visible to 2008b, add the path of the folder where you put it ( which urlread2 in 2014 will tell you) to the matlab path (addpath).

2 commentaires

Thanks Guillaume. Could you elaborate in a bit more details, please?
In 2014: >>wihch urlread2 >>C:\Users\xxx\Documents\Matlab\urlread2.m
In 2008:>>wihch urlread2 >>C:\Users\xxx\Documents\Matlab\urlread2.m
Do you suggest there are additional paths I need to add this function to in 2008?
Oh, I didn't realise the error came from within urlread2.
Having had a look at the code, it looks like it calls some undocumented internal java functions to configure proxy settings. Most likely, it wasn't implemented in 2008b as proxy configuration within matlab is fairly recent thing.
So it looks like you can't use urlread2 in 2008b.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Tags

Question posée :

le 19 Sep 2014

Commenté :

le 19 Sep 2014

Community Treasure Hunt

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

Start Hunting!

Translated by