Main Content


Class: Simulink.CodeImporter
Package: Simulink

Load import settings from saved import settings file


success = obj.load(filename)


success = obj.load(filename), where obj is an object of class Simulink.CodeImporter, loads import settings from a saved import settings JSON file, filename, created using the save method.

Input Arguments

expand all

Name or path of JSON file with saved import settings, specified as a character vector or string scalar.

Example: 'importsettings.json'

Data Types: char | string

Output Arguments

expand all

Indicator of whether loading import settings is successful, returned as a logical scalar.

Version History

Introduced in R2020a