Simulink Support Package for Rust Code

Integrate Rust code into Simulink and deploy Embedded Coder generated C code to Rust projects

You are now following this Submission

The Simulink Support Package for Rust Code enables bidirectional workflows between Simulink models and Rust-based applications. The Rust Importer brings existing Rust functions into Simulink as reusable library blocks for simulation and testing. The Rust Wrapper automatically produces bindings around Embedded Coder generated C code for direct use in production Rust projects.
Key Features
  • Rust Importer to import existing Rust functions as Simulink library blocks, enabling simulation and testing of Rust code directly within your Simulink model
  • Rust Wrapper to automate Foreign Function Interface (FFI) bindings for Simulink-generated C code, allowing Rust programs to call Simulink functions and access model data directly
Documentation

Tags

Add Tags

Add the first tag.

MATLAB Release Compatibility

  • Compatible with R2026a

Platform Compatibility

  • Windows
  • macOS (Apple Silicon)
  • macOS (Intel)
  • Linux