Main Content

Simulink.fault.unregisterLibrary

Unregister libraries containing fault behaviors

Since R2023b

Description

example

Simulink.fault.unregisterLibrary unregisters the custom libraries from the list of registered fault behavior libraries.

example

Simulink.fault.unregisterLibrary(lib) unregisters the custom library, lib, from the list of registered fault libraries.

Examples

collapse all

Unregister the custom libraries.

Simulink.fault.unregisterLibrary

Retrieve the names of the registered libraries with the Simulink.fault.libraries function. The list contains only the default library.

Simulink.fault.libraries
ans =

  1×1 cell array

    {'safetyutillib'}

Unregister a custom library called custom_library from the list of registered libraries.

Simulink.fault.unregisterLibrary("custom_library")

Input Arguments

collapse all

Library to unregister from the list of registered libraries, specified as a string scalar or character vector. The library must be in the current directory.

Data Types: char | string

Version History

Introduced in R2023b