Effacer les filtres
Effacer les filtres

Where is the polyIntersect.m function in R2024 and how do I load it ?

72 vues (au cours des 30 derniers jours)
Chuck Dalby
Chuck Dalby le 2 Juil 2024 à 16:30
Commenté : Chuck Dalby le 6 Juil 2024 à 21:44
I have updated my R2022 license and can't locate the polyIintersect.m function and load it ? I need the function
for an old program

Réponse acceptée

Star Strider
Star Strider le 2 Juil 2024 à 16:40
I can’t find it in the online documentation. There are several Mapping Toolbox functions, specifically polyxpoly, as well as other intersection functions.
To the best of my knowledge, thater are none in core MATLAB, although there are several in the File Exchange.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 2 Juil 2024 à 18:56
polyintersect appears to be part of MRST (MATLAB Resevoir Simulation Toolbox), https://www.sintef.no/contentassets/2551f5f85547478590ceca14bc13ad51/nwm.html
  16 commentaires
Chuck Dalby
Chuck Dalby le 5 Juil 2024 à 16:52
The CoRegErrData file is large (7GB) and I am not sure how to create the polyshape objects ?
Chuck Dalby
Chuck Dalby le 6 Juil 2024 à 21:44
Hmmmm. If one looks at the code above it contains conversion of the data to polyshape objects ?
inPolyOld = polyshape([inShapeOld.X],[inShapeOld.Y], 'Simplify', false);
inShapeNew = shaperead([dataFolder char(inFiles.NewShape(i))]);
inPolyNew = polyshape([inShapeNew.X],[inShapeNew.Y], 'Simplify', false);
So I don't understand the need to do so again ?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Elementary Polygons dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by