Borrar filtros
Borrar filtros

Print the value number shown in the workspace ?

2 visualizaciones (últimos 30 días)
Susan Arnold
Susan Arnold el 25 de Feb. de 2016
Comentada: Susan Arnold el 25 de Feb. de 2016
How can I print the value number shown in the workspace of Matlab as shown in the attached picture (more specifically the number in the red box) by using the command fprint ?

Respuesta aceptada

Stephen23
Stephen23 el 25 de Feb. de 2016
Editada: Stephen23 el 25 de Feb. de 2016
Just use size:
size(PHI,1)
MATLAB does not have any command fprint, perhaps you meant fprintf:
fprintf('%d\n',size(PHI,1))
  1 comentario
Susan Arnold
Susan Arnold el 25 de Feb. de 2016
You are right Stephen! It works ! Thank you very much :)

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