Executing different operqtiions from same simulink file

I am working on two different S-Functions connecting two different devices,in the same simulink model. Each S-Funnction works perfectly well independently on its own simulink model
The problem is, when I combine the two models into one and run the combined model, I cannot get the readings from my second device continously,but rather, it waits for the first device to finish its cylce of operation and the it gives an output, also,sometimes the port of the device changes. I would like to get the readings independently from the combined model. Kindly help.

Antworten (0)

Kategorien

Mehr zu Block and Blockset Authoring finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 3 Mai 2022

Community Treasure Hunt

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

Start Hunting!

Translated by