Crates.io | simulink-rs |
lib.rs | simulink-rs |
version | 4.0.2 |
source | src |
created_at | 2021-12-14 22:15:05.108219 |
updated_at | 2024-03-11 01:05:10.724921 |
description | Simulink C to Rust library builder |
homepage | |
repository | https://github.com/rconan/simulink-rs |
max_upload_size | |
id | 497958 |
size | 35,619 |
The template directory contains the blueprint for importing generated C code from Simulink into Rust.
Simply copy and rename the template
directory, then:
Cargo.toml
, set the package name,sys
folder,build.rs
, pass the name of the Rust structure that will implement the Rust version of the Simulink controller as argument to simulink_rs::Sys::new(Some("..."))
,and finally run cargo build
to check that the new crate is build without errors.