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
2014-9-19
0 个投票
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 个评论
Yucheng
2014-9-19
Guillaume
2014-9-19
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!