padv.builtin.task.GenerateSimulinkWebView Class
Namespace: padv.builtin.task
Superclasses: padv.Task
Task for creating web views for models
Description
The padv.builtin.task.GenerateSimulinkWebView
class provides a task that
can create web views for your models using Simulink®
Report Generator™. You can view, navigate, and share a web view without a Simulink license.
You can add the task to your process model by using the
method addTask
. After you add the task to your process model, you can run the
task from the Process Advisor app or by using the function
runprocess
.
To view the source code for this built-in task, in the MATLAB® Command Window, enter:
open padv.builtin.task.GenerateSimulinkWebView
The padv.builtin.task.GenerateSimulinkWebView
class is a handle
class.
Creation
Description
creates a task for creating web views using Simulink
Report Generator.task
= padv.builtin.task.GenerateSimulinkWebView()
sets certain properties using one or more name-value arguments. For
example, task
= padv.builtin.task.GenerateSimulinkWebView(Name=Value
)task = padv.builtin.task.GenerateSimulinkWebView(Name =
"MyWebViewTask")
creates a task with the specified name.
You can use this syntax to set property values for InputQueries
,
Name
, IterationQuery
,
InputDependencyQuery
, Licenses
,
LaunchToolAction
, and LaunchToolText
.
The padv.builtin.task.GenerateSimulinkWebView
class also has other properties, but you cannot set
those properties during task creation.
Properties
Methods
Examples
Tips
If you run MATLAB using the
-nodisplay
option or you use a machine that does not have a display (like many CI runners and Docker® containers), you should set up a virtual display server before you include this task in your process model. For information, see Set Up Virtual Display Machines Without Displays.