Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Autogenerating geometry in Livelink with Geometry
Posted Nov 9, 2019, 9:52 p.m. EST LiveLink for MATLAB, Geometry Version 5.4 1 Reply
Please login with a confirmed email address before reporting spam
I am trying to autogenerate geometry in Livelink with MATLAB using for loops. Specifically, I am trying to make a series of concentric spheres. However, I am having trouble due to the fact that each time I create a new object it needs a new string for a name for the variable. It then gives me an error whenever I try to autogenerate the names with the for loops. For example, for n=1:10 sq+n = geometry.feature.create('sq'+n,'Square'); end
Is there a good online resource regarding this?