A=get(t,'Data'); % create double array from a cell array A B=cell2mat(A); % assign the value of the dot product to the variable 'result' in the workspace assignin('base','result',B)...
is my code to show data in workspace though programming,,,but its not working out
No products are associated with this question.
Which part of it is not working?
assignin('base') sets variables in the "base" workspace, which is the same workspace as the command line normally accesses. If you want to retrieve anything from the base workspace, you need to use
Play games and win prizes!Learn more