主要内容

Simulink.Solver.unregister

R2026b

Unregister Simulink plugin solver

Since R2026b

    Description

    Simulink.Solver.unregister(slvr) unregisters the plugin solver slvr. After you unregister a plugin solver, the solver is not available in any models. To simulate a model using a plugin solver, register the plugin solver.

    The software automatically unregisters plugin solvers when you close MATLAB®.

    example

    Examples

    collapse all

    Unregister a plugin solver named MySolver.

    Simulink.Solver.unregister("MySolver")

    Input Arguments

    collapse all

    Name of plugin solver, specified as a string or a character vector.

    Data Types: char | string

    Version History

    Introduced in R2026b