Problem in command window and workspace .

조회 수: 2 (최근 30일)
Shikha
Shikha 2014년 2월 6일
답변: Shuba Nandini 2023년 3월 2일
I am using MATLAB R2013a(8.1.0.604). I could not find the solution on the web. My workspace and command window are not showing variables. When I assign a variable in command window like >>a=2 then a= 2 is not displayed on my command window and there are no variable in workspace. What should I do ?
  댓글 수: 1
Andreas Goser
Andreas Goser 2014년 2월 6일
Contact installation support please

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

답변 (1개)

Shuba Nandini
Shuba Nandini 2023년 3월 2일
Hi Shikha,
I understand that you are having an issue displaying the variables on Command window and Workspace. There are some troubleshooting steps that you can try:
1. Check the MATLAB Preferences to make sure that variables are set to be displayed in Command Window and Workspace. To set Command Window Preferences, please refer to this link: Set Command Window Preferences - MATLAB & Simulink (mathworks.com)
2. Check the format of the Output. Sometimes MATLAB may set to display output in a format that hides the variables. Try changing the format of the output to “long” or “short” by running the format command. To know how format command works, please refer this link: Set output display format - MATLAB format (mathworks.com)
3. Check the value of the “format compact”. This command removes extra white space in the output, which can sometimes hide the display of variables. To check more about this command, please refer this link: Format Output - MATLAB & Simulink (mathworks.com)
4. To make variables visible on the Workspace, try reloading it by clicking on the “Refresh” button in the Workspace window or by typing “clc” or “clear all” command.
If none of these steps works, you may need to update your version of MATLAB to a more recent version that is compatible.
Thanks

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by