Draw Cuboid

Creates a cuboid patch object with user-defined size, location and orientation.
2.5K Downloads
Updated 27 Oct 2010

View License

Creates an 6 face cuboid patch object. User inputs are for center of volume, orientation, color, transparency and side lengths. The function returns the object handle as well as the face and vertex matrices.

Cite As

Nicholas M (2024). Draw Cuboid (https://www.mathworks.com/matlabcentral/fileexchange/25559-draw-cuboid), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Lighting, Transparency, and Shading in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

changed description

1.0.0.0