How do I pass a string as the argument of a function?
Show older comments
Hi, I'm a beginner and i need help with this simple problem. I need to make a function that displays a particular string when called upon. However, i can't figure out how to pass "that" string as the argument when calling that function.
Answers (1)
madhan ravi
on 25 Dec 2018
Edited: madhan ravi
on 25 Dec 2018
doc str2func
doc disp
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!