coder.RustWrapper.genRustBindings
Syntax
Description
Add-On Required: This feature requires the Simulink Support Package for Rust Code add-on.
coder.RustWrapper.genRustBindings(
generates Rust® bindings for the C code produced from the Simulink® model associated with the specified buildInfo)buildInfo
object.
coder.RustWrapper.genRustBindings(
specifies options using one or more name-value arguments in addition to the input
arguments. For example, set buildInfo,Name=Value)PackageType to "lib"
to generate a Rust library package, or to "bin" to generate an executable
Rust package.
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2026a