Change workspace variable from C++ application

I've compiled a simulink model using the ert_shrlib target and have written a simple C++ application that loads the model DLL and steps through the simulation. The model contains lots of blocks that use data from workspace (constants, look-up tables, etc), and now I want to be able to change that data during simulation. How can I achieve this?

Answers (0)

Asked:

on 9 Dec 2013

Edited:

on 9 Dec 2013

Community Treasure Hunt

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

Start Hunting!