MATLAB: Webread with variable in url

MATLABwebread url location codes

I am calculating route of between two points and my code is
url= ['https://www.google.com/maps/dir/40.99311533,29.06124115/41.04388643, 28.90537262/am=d/'] above codes works but when I want to an iterate calculation codes have to read Latitude and Longitude values from another matrice . I am getting Error
A=[40.99311533 29.06124115] B=[41.04388643, 28.90537262] How can Write the matrice values into above codes ? I tried url= ['https://www.google.com/maps/dir/A(1),A(2)/41.04388643, 28.90537262/am=d/'] it dosnt work

Best Answer

it works, great Thanks Jan Simon
Related Question