Search and Filter File Views

In Simulink® Project, use the search box or Filter button to specify the files to display. In all the file views, and in batch job and dependency analysis nodes, you can use the search box and filtering tools.

  • To view files, select the Files node. When Project Files View is selected, only the files in your project are shown. To see all the files in your sandbox, click the Project Files View button and select All Files View. This view shows all the files that are under the project root, not just the files that are in the project.

  • To search, type a search term in the search box, for example, part of a file name, or a file extension. You can use wildcards, for example, *.m, or *.m*.

    Click the x to clear the search.

  • To build a filter for the current view, click the filter button .

    In the Filter Builder dialog box you can select multiple filter criteria to apply using names, file types, project status, and labels. Press Ctrl to select multiple labels.

    The dialog box reports the resulting filter at the bottom, for example:

    Filter = file type is 'Model files (*.slx, *.mdl)' AND project status
     is 'In project' AND has label 'Engine Type:Diesel'

    When you click OK, the search box shows the filter that you are applying.

Other ways to search:

  • To search model contents without loading the models into memory, on the MATLAB® Home tab, in the File section, click Find Files. You can search a folder or the entire path. However, you cannot open SLX files from the results in the Find Files dialog box. Open the files from the project or Current Folder browser instead. See Advanced Search for Files.

  • To search a model hierarchy, in the Simulink Editor, select Edit > Find. Select options to look inside masks, links, and references. This search loads the models into memory.

  • To search a model hierarchy and contents using more options, use the Model Explorer. In the Model Explorer, select View > Show Current System and Below to search the whole hierarchy. This search loads the models into memory.

Related Examples

Was this topic helpful?