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?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by