Format COMPACT not working

조회 수: 12 (최근 30일)
Joshua Kreider
Joshua Kreider 2020년 1월 11일
댓글: Joshua Kreider 2020년 1월 12일
I was running a script and everything was in the compact format but I wanted to put format compact into the script so i could run the script anywhere and it would make sure it output answers in the compact format. As soon as I ran it with the new line "format compact" everything went to the loose format. I restarted matlab, opened a new file, restarted my computer, and deleted the format compact line. I changed my preferences to compact format but as soon as I run my script everything goes back to loose again. My script is literally like 30 lines and i only have one line in the entire thing that says format "......." it is the format compact line. No other lines say format anything. I cannot find an answer to this anywhere I am getting quite frustrated. I hope its just something dumb please help!
  댓글 수: 7
John D'Errico
John D'Errico 2020년 1월 12일
Yep. Been there, done that.
Joshua Kreider
Joshua Kreider 2020년 1월 12일
Yes haha. Really appreciate the help though

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Function Creation에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by