Borrar filtros
Borrar filtros

fprintf

4 visualizaciones (últimos 30 días)
John
John el 23 de Abr. de 2011
ok I know how to code an fprintf if I am printing a value, but I want to make a "title" print for example.
Mass Time Error -How Do i print this line?
fprintf(I know how to print my values here)
fprintf(I know how to print my values here)
How do I fprintf the line that has mass, time and error??? I do not want anything on the output except for mass, time and error for example I do not want to reference a function value I just want to print the words.

Respuestas (1)

Matt Fig
Matt Fig el 23 de Abr. de 2011
Something like this:
fprintf('Mass\t\tTime\t\tError\n')

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by