Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
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));
Cita come
Bill Whiten (2026). Functions istext iscelltext (https://it.mathworks.com/matlabcentral/fileexchange/68918-functions-istext-iscelltext), MATLAB Central File Exchange. Recuperato .
Riconoscimenti
Ispirato: Optional function arguments
Informazioni generali
- Versione 1.0.0 (2,74 KB)
Compatibilità della release di MATLAB
- Compatibile con R2016b e release successive
Compatibilità della piattaforma
- Windows
- macOS
- Linux
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0 |
