I have created the STL file by importing a WRL into SolidWorks and then exporting to STL. When I read the STL file into MATLAB using the "importGeometry" function, I get an error message.
>> model = createpde(3);>> importGeometry(model, 'striatum_Mathworks.stl');
Error using pde.DiscreteGeometry
Failed to create geometry, the input does not form a closed volume.
This may be due to missing faces or gaps in the input.
Error in pde.EquationModel/importGeometry (line 56) gm = pde.DiscreteGeometry(geofilename);
Best Answer