Clear Filters
Clear Filters

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

72 views (last 30 days)
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

Accepted Answer

Star Strider
Star Strider on 2 Jul 2024 at 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.

More Answers (1)

Walter Roberson
Walter Roberson on 2 Jul 2024 at 18:56
polyintersect appears to be part of MRST (MATLAB Resevoir Simulation Toolbox), https://www.sintef.no/contentassets/2551f5f85547478590ceca14bc13ad51/nwm.html
  16 Comments
Chuck Dalby
Chuck Dalby on 5 Jul 2024 at 16:52
The CoRegErrData file is large (7GB) and I am not sure how to create the polyshape objects ?
Chuck Dalby
Chuck Dalby on 6 Jul 2024 at 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 ?

Sign in to comment.

Categories

Find more on Elementary Polygons in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!