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

Answers (0)

This question is closed.

Products

Asked:

on 13 Aug 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!