Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Output argument is not assigned on some execution paths error inside if condition

1 visualización (últimos 30 días)
I would like to start by saying that I realise that this question has been asked several times before and I have used similar blocks before without any issues. However in this execution I am unable to understand how to clear this error. The error is
Output argument 'measX' is not assigned on some execution paths.
Function '/Subsystem/TLS_SOH' (#60.10.15), line 1, column 11: "measX"
Attached is a image of the simulink block. The output of the said function block from the subsystem is connected to another subsystem (BMS). Both of these subsytems are triggered by the if/else condition outside.
I would also like to point out that the trigger to the first subsystem is does not affect the output measX which is 0 if the subsystem is not triggered. (checked this by removing the trigger).
Any help will be appreciated. Thanks in advance!

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by