Want to plot a mesh structure in matlab but in live script this error comes up.
3 views (last 30 days)
Show older comments
0 Comments
Answers (1)
Chidvi Modala
on 3 Jun 2021
The triangulation object returned from stlread(stlFile) might be empty. Hence the error.
You may verify this by executing the following code
stlFile = 'Lift_Arm_New_2.stl';
TR = stlread(stlFile);
And check if the workspace variable TR is empty.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!