Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
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));
Citar como
Bill Whiten (2026). Functions istext iscelltext (https://es.mathworks.com/matlabcentral/fileexchange/68918-functions-istext-iscelltext), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspiración para: Optional function arguments
Información general
- Versión 1.0.0 (2,74 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión desde R2016b
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
| Versión | Publicado | Notas de la versión | Action |
|---|---|---|---|
| 1.0.0 |
