Pass inputs and read outputs from standalone executable

Hi everyone,
I have a Simulink model which uses also some user defined matlab functions to make some calculations. In the next step I'm generating code from that Simulink model.
Then I want to use the executable along with my C program to run some simulations in an environment completely independent from Matlab or Simulink. How can I pass inputs to and read outputs from the executable?
Unfortunately, moving my C code to Simulink and using Simulink as a simulation engine is not an option.
Thanks in advance.

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Asked:

on 8 Jan 2020

Edited:

on 8 Jan 2020

Community Treasure Hunt

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

Start Hunting!