matlab画立方体

clc;clear;close all;
structuralModel = createpde('structural','static-solid');
gm = multicuboid(1,1,1);
structuralModel.Geometry = gm;
figure(1);hold on;pdegplot(structuralModel,'FaceLabels','off','FaceAlpha',0.5);

原文地址:https://www.cnblogs.com/yibeimingyue/p/14930021.html