Change workspace variable from C++ application

2 views (last 30 days)
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)

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!