Draw Cuboid

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

You are now following this Submission

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 (2026). Draw Cuboid (https://uk.mathworks.com/matlabcentral/fileexchange/25559-draw-cuboid), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

changed description

1.0.0.0