MATLAB ヘルプ センター
Validate contents of SimulationInput object
SimulationInput
validate(simIn)
validate(simIn) validates the changes made to the model through the SimulationInput object simIn.
simIn
example
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
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ