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.
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