Borrar filtros
Borrar filtros

how can i type a letter in single quotes?

1 visualización (últimos 30 días)
hanish h
hanish h el 5 de Jun. de 2015
Comentada: hanish h el 5 de Jun. de 2015
fprintf('''Q''')
>>> it gives 'Q' right but i want it the prompt in next line so i type
fprintf('''O''/n');
>>> 'O'/n>>
how to get prompt in next line

Respuesta aceptada

Walter Roberson
Walter Roberson el 5 de Jun. de 2015
Include the \n in the format descriptor.
fprintf('''Q''\n')
  1 comentario
hanish h
hanish h el 5 de Jun. de 2015
haha cheers mate i know its a dumb question

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by