Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Most function now allow either char of string variables.
However missing are functions to test for either string or char,
and to test for a cell array containing only string or char values.
Two functions v=istext(x) and v=iscelltext(x) are included or
can be used inline as:
istext=@(x)isstring(x)|ischar(x);
iscelltext=@(x)all(cellfun(@(y)isstring(y)|ischar(y),x,'UniformOutput',1));
Zitieren als
Bill Whiten (2026). Functions istext iscelltext (https://de.mathworks.com/matlabcentral/fileexchange/68918-functions-istext-iscelltext), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert: Optional function arguments
Allgemeine Informationen
- Version 1.0.0 (2,74 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit R2016b und späteren Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.0 |
