Clear Filters
Clear Filters

Simulink coder with in-run configurable

2 views (last 30 days)
bac bac
bac bac on 23 Mar 2023
Hello,
I would like to write a program in Simulink and generate C code for Embedded system (or Desktop).
It is required the program to change parameters in-run.
For example:
Name program is: my_simulink_program
Parameters are: param_1, param_2, param_3, or file file_path hold those parameters
In cmd (of Windows or embedded OS) I need to pass p1, p2 for the parameters. It looks like:
> my_simulink_program param_1 p1 param_2 p2 param_3 p3
> my_simulink_program config_file=file_path
How can I do it in Simulink and Simulink coder, embedded coder?

Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!