How to create standalone executable of simulink model in linux and pass input parameters to it via terminal?

4 views (last 30 days)
Hi,
I am working on certain project here at my university, where I want to generate standalone executable from Simulink model which runs on linux(ubuntu for now) and i have to verify dataflow by passing some values to inputs of the model and verify the output of the model through this executable on terminal. I want to do this operation without the support of Matlab.
I have generated code and build the simulink model using grt.tlc and with no changes in other settings. But this does not runs on terminal, giving below error. [gearShiftingController_modified is my model's name and name of the executable also]
>> sudo ./gearShiftingController_modified
[sudo] password for vasudev:
>> sudo: ./gearShiftingController_modified: command not found
Additionally, any help or ideas regarding passing the inputs and recording outputs also will be helpful.
Thanks, Vasudev

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!