Print a statement to the Command Window
15,604 views (last 30 days)
Show older comments
I am writing a program. I want to display the statement 'job done' as the output in the Command Window. How can I do it?
2 Comments
GOPINATHAN PRAKASH
on 20 Jun 2021
Hai navneet nayan,
disp('job done');
disp command is used display the string values.
Accepted Answer
More Answers (4)
Gaurav Srivastava
on 26 May 2019
It's not happening. How to display LHS=RHS?.png)
.png)
3 Comments
sidway
on 13 Aug 2021
Try to make a diference between a and b with a tolerance
tol = 1e-3
if abs(a - b) < tol
disp('LHS=RHS')
end
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!