Azzera filtri
Azzera filtri

Running subsystems individually in Simulink

22 visualizzazioni (ultimi 30 giorni)
SY Koh
SY Koh il 7 Apr 2016
Risposto: Hatice OKUMUS il 15 Giu 2021
Good day all, I am currently having trouble with my Simulink model. There are 2 subsystems A and B. I would like to make subsystem A run first then using the data produced, run subsystem B. Is there a function of Simulink block i could use to execute this?
I have tried using trigger and enable with a step input of 10sec before subsystem B but it didn't work. I have tried a store memory but it didn't work too. A Variant subsystem is considered but as the input to both subsystems A and B are different, i assume it would not work as well.
I would appreciate the help and support i can get from you guys! Thank you very much!
  3 Commenti
SY Koh
SY Koh il 8 Apr 2016
Hi Zack. Thank you for the reply. I have attached a Simulink model in the link attached below. Basically, Subsystem A is a PV configuration which has to run first to obtain my V-P graph. Then subsystem B consisting of a MATLAB function and converter would be used to process the data from Subsystem A(PV configuration). I hope this explanation of my problem would be clearer.
https://www.dropbox.com/sh/asononvm9hgnlig/AABrIsRZRfH2OCMBLMDx9Af1a?dl=0
Praneet Kala
Praneet Kala il 16 Ott 2020
I would use and atomic subsystem(https://www.mathworks.com/help/simulink/slref/subsystem.html) unless you want to buffer and collect all data from A and pass it into B. The atomic subsystem will set the execution order of A to run first and then only once process will it pass data to B.

Accedi per commentare.

Risposte (1)

Hatice OKUMUS
Hatice OKUMUS il 15 Giu 2021
HI SY could you solve ypur problem?

Categorie

Scopri di più su Schedule Model Components in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by