Help CenterHelp Center
SimulationInput
Validate contents of SimulationInput object
validate(simIn)
example
validate(simIn) validates the changes made to the model through the SimulationInput object simIn.
simIn
collapse all
Configure a Simulink.SimulationInput object with modifications to make in a model for a simulation then validate the object.
Simulink.SimulationInput
Open the model.
openExample('simulink/OpenTheModelExample'); mdl = 'ex_sldemo_househeat'; open_system(mdl);
Create a SimulationInput object for this model
simIn = Simulink.SimulationInput(mdl);
Specify the value for an invalid model parameter using the setModelParameter function.
setModelParameter
simIn = setModelParameter(simIn,'InvalidParamName','5');
Validate the Simulink.SimulationInput object.
Simulation inputs and configuration, specified as a Simulink.SimulationInput object.
Introduced in R2017a
sim
parsim
batchsim
applyToModel
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office