MATLAB: Problem with workspace matlab 2020b

MATLABworkspace

I have a problem with workspace ı can not see variables while code is working perfectly also ı can not see any plotting

Best Answer

The code you posted is a function. Local variables for a function disappear after the function returns; you would have to put in a breakpoint before the end of the function to see the local variables.
Your posted code does not plot anything.