www.gusucode.com > sloptim工具箱matlab源码程序 > sloptim/sloptim/@sroengine/@TimeSpec/schema.m
function schema % Class definition for runtime, data-oriented Simulink Test. % % A Simulink Test runs the model in a particular configuration % and evaluates the various design objectives for this run. % Author(s): Pascal Gahinet % A. Stothert % Copyright 1986-2005 The MathWorks, Inc. % Register class pk = findpackage('sroengine'); c = schema.class(pk,'TimeSpec',findclass(pk,'Specification')); c.Description = 'Time domain (signal) based specification'; %%%%%%%%%%%%%%%%%%%%%% %-- Public Properties %%%%%%%%%%%%%%%%%%%%%% p = schema.prop(c,'DataLogID','string'); p.Description = 'Simulink data log ID'; p.FactoryValue = 'SRO_Data_Log'; % Start time for simulation p = schema.prop(c,'StartTime','double'); p.Description = 'Simulation start time'; p.AccessFlags.Serialize = 'on'; % Stop time for simulation p = schema.prop(c,'StopTime','double'); p.Description = 'Simulation stop time'; p.AccessFlags.Serialize = 'on'; %%%%%%%%%%%%%%%%%%%%%% %-- Private Properties %%%%%%%%%%%%%%%%%%%%%%