필터 지우기
필터 지우기

Pass variables's name and their values from gui to workspace

조회 수: 1 (최근 30일)
Mohammad
Mohammad 2012년 2월 24일
Hello : how can i pass variables's name and their values from gui to workspace?. i want to run a gui progam and give the result in the workspace and work with them in the commands window. could you please help me? Thank you .

채택된 답변

Arthur
Arthur 2012년 2월 24일
Use the function assignin, and store your variables on the 'base' workspace. For instance, to store variable x:
x = 1:10;
assignin('base','x',x)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by