Output argument Tf is not assigned on some excution paths

Sir, I have matlab embedded function block inside simulink with 2 Dimensional variable 'Tf'. Actually it is 10 by 5 matrix. This variable is calculated in "if" as well as "else" statement with different expressions.
I am getting error message : Output argument Tf is not assigned on some excution paths
What can be reason of error ?
Previously I had output variable outputing a single number and program was running successfully, but now I am getting error message.
Awaiting for your reply

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Gefragt:

am 13 Aug. 2012

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by