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.
A wrapper around fprintf and sprintf with the following features:
* Print to multiple file pointers.
* Append directly to files (given file name).
* Return the output as a string.
* Flexible support for printing lists.
Example:
>> s = printf({1,'foo.log'}, 'len(c)=%d, c=[%s].\n', length(c), {'%g', ' ', c});
len(c)=3, c=[3.14 1 15].
>> s2 = printf('<%s>', {[1 3 4 5]})
s2 =
<1, 3, 4, 5>
>>
Also append the printed text to file foo.log, and return it (incl the line break) to s.
Citar como
Petter (2026). printf (https://es.mathworks.com/matlabcentral/fileexchange/39213-printf), MATLAB Central File Exchange. Recuperado .
Información general
- Versión 1.0.0.0 (2,35 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
