workspace doesnt show variables

I downloaded the new 2018 Matlab trial per month. I wrote the code but it does not let me run it and I can not see the variables in the workspace either.
I would appreciate your help,
Karin.

6 件のコメント

Adam
Adam 2019 年 3 月 20 日
What do you mean by 'does not let me run it'? Does it give an error or there is no option to run it or what? also, presumably if you cannot run your code you would not expect any variables to appear in the workspace? Or do you mean you can run code from command line and the variables you create there do not show?
karin kisos
karin kisos 2019 年 3 月 20 日
it doest give me any error . I pressed run and nothing happened. No variables were shown and I did not get results. I tried to run it from the command window but it did not work either
Dennis
Dennis 2019 年 3 月 20 日
Are you using a script or a function?
It might be easier to answer your question if you attach your code.
Dennis
Dennis 2019 年 3 月 20 日
N does not appear in your workspace if you put this in command line?
N=1000;
karin kisos
karin kisos 2019 年 3 月 20 日
no, it doesnt.
Adam
Adam 2019 年 3 月 20 日
Have you tried pressing F5 and/or restarting? Occasionally the workspace can stop updating, though it's fairly rare.

サインインしてコメントする。

回答 (1 件)

karin kisos
karin kisos 2019 年 3 月 20 日

0 投票

I am using a code:
I can sand you a part of my code. I tried also to run just a couple of lines but it doesnt work.
N=1000;
Electron=randn(1,N);
Pion=randn(1,N)+2;
significanceLevel=(length(find(Electron>1))/N);

カテゴリ

質問済み:

2019 年 3 月 20 日

コメント済み:

2019 年 3 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by