% mpt_hello.m clear; clc; close all; mpt_init mptopt(lpsolver,LCP); P Polyhedron(lb,[-1;-1],ub,[1;1]); disp(P); P.plot(color,lightblue); title(MPT‑3 Hello World MATLAB2024);运行效果