MATLAB Answers

How to pass values from GUI table to workspace

Asked by Arun Badigannavar on 11 Dec 2012
% create double array from a cell array A
% assign the value of the dot product to the variable 'result' in the workspace

is my code to show data in workspace though programming,,,but its not working out




No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 11 Dec 2012

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

evalin('base', 'result')


Arun Badigannavar on 11 Dec 2012

its generating crash report

Walter Roberson
on 11 Dec 2012

Please post the beginning of the crash report. Also, please use the debugger to step through your program to find out exactly which step is causing the crash.

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!