MATLAB ヘルプ センター
Create options object for configuring Model Slicer
slsliceroptions
slsliceroptions(model)
slsliceroptions(file)
slsliceroptions(model,opts)
slsliceroptions(file,opts)
slsliceroptions creates an options object for configuring the Model Slicer.
example
slsliceroptions(model) creates a copy of the Model Slicer options object associated with model.
model
slsliceroptions(file) creates a copy of the Model Slicer options object contained in the SLMS file file.
file
slsliceroptions(model,opts) attaches the slicer options opts to the model model by overwriting the existing options.
opts
slsliceroptions(file,opts) attaches the slicer options opts to the SLMS file file by overwriting the existing options.
collapse all
Add a new starting point and a new exclusion point to the active Model Slicer configuration.
Open the slexAircraftExample example model.
slexAircraftExample
openExample('simulink_aerospace/AircraftLongitudinalFlightControlExample')
Double click on slexAircraftExample model in the current directory.
Define the options file opts for the model.
opts = slsliceroptions('slexAircraftExample')
Add a new starting point on the Gain block.
Gain
addStartingPoint(opts,'slexAircraftExample/Gain')
Add a new exclusion point on the q(rad) block.
q(rad)
addExclusionPoint(opts,'slexAircraftExample/q(rad)')
Add a starting point and an exclusion point to the active Model Slicer configuration without overwriting the original configuration.
Create a second Model Slicer options configuration for the model.
addConfiguration(opts)
Add a new starting point on the Gain block for the second Model Slicer options configuration.
addStartingPoint(opts.Configuration(2),'slexAircraftExample/Gain')
Add a new exclusion point on the q (rad) block for the second Model Slicer options configuration.
q (rad)
addExclusionPoint(opts.Configuration(2),'slexAircraftExample/q (rad)')
Name of the model whose Model Slicer options object you configure.
Name of the SLMS file containing the Model Slicer options object that you configure.
Example: slsliceroptions('slexAircraftExample.slms')
slsliceroptions('slexAircraftExample.slms')
Structure containing the options for the Model Slicer configuration.
Introduced in R2015b
slslicertrace
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 のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ