java code in a for loop

조회 수: 2 (최근 30일)
JMP Phillips
JMP Phillips 2015년 8월 28일
편집: JMP Phillips 2015년 8월 28일
Is it possible to run a Java program in a Matlab for loop (i.e. at each iteration, Matlab "ticks" the Java program), and have variables from the Matlab workspace being called and set by Java classes from within the Java program? (that is, certain classes in the Java program take Matlab workspace variables as inputs, and after doing some processing returns outputs to the workspace).
Almost all the Java + matlab examples I've seen are concerned with Matlab calling individual objects or methods that will operate on Matlab workspace variables, but no real exchange of variable data between Matlab and a Java program that the Java methods will use internally.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by