www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conboolean/canExportToSimulink.m
function OK = canExportToSimulink(con) %CANEXPORTTOSIMULINK true if constraint can be exported to Simulink % % OK = canExportToSimulink(con) % Copyright 2008 The MathWorks, Inc. and Ford Global Technologies, Inc. OK = true; for i=1:length(con.Constraints) OK = OK && canExportToSimulink(con.Constraints{i}); end