Problem in command window and workspace .
2 ビュー (過去 30 日間)
古いコメントを表示
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 件)
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
0 件のコメント
参考
カテゴリ
Help Center および File 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!