How do I pass a string as the argument of a function?

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.

Categories

Products

Release

R2018b

Asked:

on 25 Dec 2018

Edited:

on 25 Dec 2018

Community Treasure Hunt

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

Start Hunting!