Cannot add 'custom' model with addMesh() as the only two options are 'polygon' and 'cylinder'
Show older comments
Hi,
for my dissertation I need to place custom models in a uav scenario to collect LIDAR data. In the documentation it says that it is possible to add custom models by supplying the vertice list and the vertice connectivity list using addMesh(scene,'custom',{vertices,faces}) but when running the code an error pops up saying
Expected type to match one of these values:
'polygon', 'cylinder'
The input, 'custom', did not match any of the valid values.
Does the package not support custom models anymore? I checked the code and it only includes the two options mentioned above, is there a way to get an older version of the code that allows custom models?
Thank you.
2 Comments
Jianxin Sun
on 2 Dec 2021
Hi, Gianluca,
What MATLAB version are you using? "custom" option is added in R2021a.
Thanks,
Jianxin
Gianluca Traversa
on 4 Dec 2021
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 3D Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!