Is possible to use conjunction between two charts that have shared variables for e.g variable x is the input to the state-flow chart and there is a conjunction between these charts with condition either to go to 1 or to 2, when going to 1 for example turn one mode till it reaches the point and vice versa. back to the initiale state if it goes to 2 do the same thing, but this with guard condition giving an error that expected a scalar!!! Do you have solution for that please?

2 Kommentare

Azzi Abdelmalek
Azzi Abdelmalek am 22 Aug. 2016
A solution for what?
Snoor Salihi
Snoor Salihi am 23 Aug. 2016
Bearbeitet: Snoor Salihi am 23 Aug. 2016
How could we make a condition either to go to 1 or 2? I have variable for temperature, I want to make both cooling and heating in the same state flow but it should do cooling in the certain degree and heating in the certain degree

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Corey Lagunowich
Corey Lagunowich am 16 Okt. 2026 um 19:23

0 Stimmen

There is an example in the documentation that shows something very similar to what you are describing for a climate control system:

Kategorien

Mehr zu Weather and Atmospheric Science finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 22 Aug. 2016

Beantwortet:

am 16 Okt. 2026 um 19:23

Community Treasure Hunt

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

Start Hunting!

Translated by