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.

답변 (1개)

Guillaume
Guillaume 2014년 9월 19일

0 개 추천

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

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

질문:

2014년 9월 19일

댓글:

2014년 9월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by