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 comentarios

Adam
Adam el 20 de Mzo. de 2019
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 el 20 de Mzo. de 2019
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 el 20 de Mzo. de 2019
Are you using a script or a function?
It might be easier to answer your question if you attach your code.
Dennis
Dennis el 20 de Mzo. de 2019
N does not appear in your workspace if you put this in command line?
N=1000;
karin kisos
karin kisos el 20 de Mzo. de 2019
no, it doesnt.
Adam
Adam el 20 de Mzo. de 2019
Have you tried pressing F5 and/or restarting? Occasionally the workspace can stop updating, though it's fairly rare.

Iniciar sesión para comentar.

Respuestas (1)

karin kisos
karin kisos el 20 de Mzo. de 2019
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);

Etiquetas

Preguntada:

el 20 de Mzo. de 2019

Comentada:

el 20 de Mzo. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by