Draw Cuboid

Creates a cuboid patch object with user-defined size, location and orientation.


Updated Wed, 27 Oct 2010 23:23:47 +0000

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 (2023). 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!
Version Published Release Notes

changed description