Can't get fprintf to display my equations answer

1 次查看(过去 30 天)
I'm trying to get my program to display the answer like ( Time of Flight : x secs) using the fprintf function, but when I run the program my fprintf displays nothing.
Here's an attachment below.
Any help would be greatly appreciated!
-Tony

采纳的回答

madhan ravi
madhan ravi 2019-2-13
%.2f
^--missed it

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by