I have inhereted a C++ code (source and header files) and am wondering how I would run a simulation based of the data obtained from C++ in Matlab. The purpose of the simulaition is to see how droplets grow over time.
Option 1: Modify your C++ code so that it writes the data to a comma delimited file, where the first column is the simulation time and the remaining columns are the output values for each time step. Then, use one of the options discussed here to bring the data into Simulink. https://www.mathworks.com/help/simulink/import-data_import-data.html