To concatenate two or more inputs in MATLAB, you can use the square bracket notation [].
Example:
main.m71 chars4 lines
Output:
main.m42 chars3 lines
You can also concatenate inputs vertically by separating them with semicolons.
main.m44 chars2 lines
Output:
main.m42 chars4 lines
gistlibby LogSnag