Clear Filters
Clear Filters

Is there a way to change format of Mat lab workspace?

21 views (last 30 days)
Hi, so I used the function 'format bank' in the command window before running my code. After running my code, it sends my data into a matrix to the workspace where I can then see it like an excel sheet. Problem is, the workspace data is in scientific notation still. Is there a way to get my workspace data to also be in 'bank format' or 'non-scientific notation?'

Accepted Answer

Walter Roberson
Walter Roberson on 6 Mar 2016
In Preferences select Variables and there change the default format for variables.
  2 Comments
John D'Errico
John D'Errico on 6 Mar 2016
Walter could have pointed out that this is only a display issue. The data is always stored in the same "format", which is defined by an IEEE spec. The difference is just in how the numbers are displayed on the command line.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!