MATLAB Display String | Delft Stack
www.delftstack.com › howto › matlabApr 13, 2021 · Displaying a String Using the disp() Function in MATLAB. You can use the disp() function to display a string in MATLAB. For example, let’s display a variable containing a string. See the below code. str = "Hello World"; disp(str) Output: Hello World In the above code, we display a variable str which contains a string. We can also join ...