save
Class: Simulink.CodeImporter
Namespace: Simulink
Syntax
filepath = save(obj, filename)
filepath = save(obj, filename, 'Overwrite', 'Off')
filepath = save(obj, filename, 'Overwrite', 'On')
Description
or
filepath
= save(obj
, filename
)
,
where filepath
= save(obj
, filename
, 'Overwrite', 'Off')obj
is an object of class Simulink.CodeImporter
, saves
import settings in JSON format to the specified file filename
and returns
the full path to the saved file. Import settings include LibraryFileName
,
OutputFolder
, CustomCode
, Options
,
selected functions and types, and function configurations. You can subsequently load the
settings from this file using the load
method.
overwrites the specified file filepath
= save(obj
, filename
, 'Overwrite', 'On')filename
if the file already exists.
Input Arguments
Output Arguments
Version History
Introduced in R2020a