Problem with matlab node labview

조회 수: 5 (최근 30일)
Marco
Marco 2014년 10월 28일
댓글: Geoff Hayes 2014년 10월 28일
Hi guys, scuse me but i have a problem with matlab node in labview. I have to call the workspace of matlab while i'm executing my program in labview so i use matlab node with this code:
Run (filename);(filename is an m-file to import in matlab data type.lvm) A=ans.segment1.data; B=A (:,1); Plot (B);
the problem is that matlab node is in while loop so it doesn't stop. Also in Matlab i don't see the variables A, B they don't go in workspace i see only the command window of matlab. Someone have a solution?
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2014년 10월 28일
Marco - please clarify what you mean by the problem is that matlab node is in while loop so it doesn't stop. Are you saying that the MATLAB script that you are running has a while loop, or the lab view program has a while loop that is calling the MATLAB script? You may need to show a little more of your code.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 LabVIEW에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by