| MATLAB Compiler | ![]() |
friend std::ostream& operator<<(std::ostream& os, const mwString& str)
Copy contents of input string to specified ostream.
C++ syntax
#include "mclcppclass.h" #include <ostream> mwString str("This is a string"); std::cout << str << std::endl; // should print "This is a // string" to standard out.
Arguments
os. ostream to copy string to.
Return value
Description
Use this operator to print the contents of an mwString to an ostream.
| bool operator>=(const mwString& str) const | mwException Class | ![]() |
© 1994-2005 The MathWorks, Inc.