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)
Mostrar comentarios más antiguos
Suvrat Ramasubramanian
el 12 de Dic. de 2018
Cerrada: MATLAB Answer Bot
el 20 de Ag. de 2021
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!
0 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!