MATLAB Compiler Previous page   Next Page

mwString& operator=(const char* str)

mwString assignment operator.

C++ syntax

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

buffer into an mwString.


Previous page  mwString& operator=(const mwString& str) bool operator==(const mwString& str) const Next page

© 1994-2005 The MathWorks, Inc.