Using Display function in an easy way

I want to print name and value of a variable like "S" as below during the run:
S = 0.15
Can you help me with this please

 Accepted Answer

Tags

Community Treasure Hunt

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

Start Hunting!