Main Content

findSfunctions

Find and return all eligible S-functions in a model

Syntax

sfuns = Simulink.sfunction.analyzer.findSfunctions(model)

Description

sfuns = Simulink.sfunction.analyzer.findSfunctions(model) returns all eligible S-functions in a model for the S-function checks. Rules are applied to filter out all ineligible S-functions.

Input Arguments

expand all

A Simulink® model or library in path specified as a string or a character vector.

Output Arguments

expand all

Eligible S-functions in the model, specified as a cell array of character vectors.

Version History

Introduced in R2017b