Is there anyway I can extract variables from another matlab script?

조회 수: 2 (최근 30일)
Nancy
Nancy 2014년 11월 18일
댓글: Nancy 2014년 11월 18일
I want to run two separate Matlab windows that run a code and then have a third matlab window use variables from the other two. is there anyway to do that?
I tried using a global variable but I am having trouble making a global variable. For example how do i make the matrix x a global variable. do i do setGlobalx(x)? Also how would i retrieve the global variable from the third matlab window
Sorry I have no code to show every time I try running that it doesn't work. I don't even know if this is possible

채택된 답변

per isakson
per isakson 2014년 11월 18일
편집: per isakson 2014년 11월 18일

추가 답변 (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