Clear Filters
Clear Filters

Print the value number shown in the workspace ?

2 views (last 30 days)
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 ?

Accepted Answer

Stephen23
Stephen23 on 25 Feb 2016
Edited: Stephen23 on 25 Feb 2016
Just use size:
size(PHI,1)
MATLAB does not have any command fprint, perhaps you meant fprintf:
fprintf('%d\n',size(PHI,1))

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!