How to Pass Cell Array Values to Java method
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I have below code like in Mat-lab :
while(1)
matrix =[right_lip_x,right_lip_y,left_lip_x,left_lip_y,upper_lip_x,upper_lip_y,bottom_lip_x,bottom_lip_y];
% How i can form values are cell array to java method declaration ?
cell_array = cell(1,8);
cell_array{1,1}=right_lip_x;
cell_array{1,2}=right_lip_y;
cell_array{1,3}=left_lip_x;
%etc up to 1 by-8 values
end
I got result like : [22] [9] [21] [54] [654] [76] [755] [21]
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Java from MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!