Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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));
Citation pour cette source
Bill Whiten (2026). Functions istext iscelltext (https://fr.mathworks.com/matlabcentral/fileexchange/68918-functions-istext-iscelltext), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : Optional function arguments
Informations générales
- Version 1.0.0 (2,74 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec les versions R2016b et ultérieures
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0 |
