save
Class: Simulink.RustImporter
Namespace: Simulink
Syntax
Description
Add-On Required: This feature requires the Simulink Support Package for Rust Code add-on.
or
filepath = save(rustObj, filename),
where filepath = save(rustObj, filename, 'Overwrite', 'Off')rustObj is an object of class Simulink.RustImporter,
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,
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(rustObj, filename, 'Overwrite', 'On')filename if the file already exists.
Input Arguments
Output Arguments
Version History
Introduced in R2026a