Main Content

publishCustomAction

Generate asset file for user-defined action

Since R2022b

    Description

    Simulink.publish.publishCustomAction(modelName) generates an action asset file for the Simulink® actor behavior model actorBehaviorModel that handles a certain user-defined action.

    example

    Examples

    collapse all

    Publish Simulink actor behavior as an action asset file to use in a scenario simulation.

    Simulink.publish.publishCustomAction("CustomDriveSimulinkModel");

    Input Arguments

    collapse all

    Simulink model name, specified as a character vector or string.

    Example: "mSimple"

    Data Types: char | string

    Version History

    Introduced in R2022b