Hi Qu,
Can you provide some more details on what you are trying to accomplish? For example, are you trying to output a MATLAB table from a Stateflow chart or a truth table? Also, what do you mean by "make an output as a formula"?
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!