nwbClearGenerated

nwbClearGenerated(targetFolder, options)[source]

NWBCLEARGENERATED - Clear generated class files.

Syntax:

NWBCLEARGENERATED() Clear generated class files from the +types folder in the matnwb root directory.

Input Arguments:
  • targetFolder (string) - Path name for folder containing generated classes in a +types namespace folder. Default value is the matnwb root directory

  • options (name-value pairs) - Optional name-value pairs. Available options:

    • ClearCache (logical) - Whether to clear the cached schema data in the namespaces folder. Default is false

Usage:

Example 1 - Clear all generated classes in the matnwb root directory:

nwbClearGenerated();