Draw Cuboid

version (1.93 KB) by Nicholas M
Creates a cuboid patch object with user-defined size, location and orientation.


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 (2022). 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

Community Treasure Hunt

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

Start Hunting!