padv.builtin.task.IndexModels Class
Namespace: padv.builtin.task
Superclasses: padv.Task
Description
The padv.builtin.task.IndexModels
class provides a task in Process Advisor that
indexes Simulink® models in a database. By indexing models in a database, you can store the
textual information pertaining to the models such as model names, model paths, descriptions,
annotations, block names, and block types. After indexing, you can set a search query in the
database to access the models by using the Model Finder user
interface (UI). Model Finder matches your search query with the stored information in the
database and displays the search results. You can then filter and browse these search results
by using the Model Finder UI.
You can add the IndexModels
task to your process model by using the addTask
function.
After adding the task to your process model, you can run the task from the Process
Advisor app or by using the runprocess
function. When Process Advisor runs the IndexModels
task, Model Finder indexes
all models associated with your project in its default database
projectModels.db
. You can also use custom databases for indexing
models.
To view the source code for this built-in task, in the MATLAB® Command Window, enter:
open padv.builtin.task.IndexModels
The padv.builtin.task.IndexModels
class is a handle
class.
Creation
Description
creates a task to index models.task
= padv.builtin.task.IndexModels
Properties
Methods
Examples
Version History
Introduced in R2025a