Help CenterHelp Center
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
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは 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