| MATLAB Compiler | ![]() |
mwString& operator=(const char* str)
C++ syntax
#include "mclcppclass.h" const char* pstr = "This is a string"; mwString str = pstr; // str contains a copy of the data in pstr.
Arguments
str. char buffer to make copy of.
Return value
A reference to the invoking mwString object.
Description
Use this operator to copy the contents of a NULL-terminated
| mwString& operator=(const mwString& str) | bool operator==(const mwString& str) const | ![]() |
© 1994-2005 The MathWorks, Inc.