Effacer les filtres
Effacer les filtres

>> R = worldfilen​ame(getwor​ldfilename​(filename)​, 'geographic', size(RGB));

1 vue (au cours des 30 derniers jours)
Dominic Eslamian
Dominic Eslamian le 21 Fév 2020
Commenté : Walter Roberson le 21 Fév 2020
Getting Error : Index in position 1 exceeds array bounds (must not exceed 1).
code: >> R = worldfilename(getworldfilename(filename), 'geographic', size(RGB));
>> size (worldfilename)
= 1 10
How can reduce my worldfilename which is a jgw file. or Can I increase array bounds?
My goal is to create a geoshow of Oxnard,CA with RGB = imread(filename) & R = worldfilename(getworldfilename(filename), 'geographic', size(RGB));
  3 commentaires
Dominic Eslamian
Dominic Eslamian le 21 Fév 2020
yes sorry worldfileread is correct. still get same error : /
Walter Roberson
Walter Roberson le 21 Fév 2020
What shows up for
which worldfilename
which getworldfilename
which size
Also please post your revised line of code so we are sure we are talking about the same thing.
Also break the line into parts on the command line, like testing
getworldfilename(filename)
so that you can isolate which variable it is complaining about.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by