필터 지우기
필터 지우기

How can I convert the MATLAB function in to JAVA?

조회 수: 3 (최근 30일)
Jhilam Mukherjee
Jhilam Mukherjee 2014년 2월 18일
답변: Qasem Makki 2021년 12월 8일
I have implemented some techniques using different algorithm of MATLAB, now I have to make it web enabled using JAVA. I am using MATLAB2012b version. Can It be possible to convert all the code in to JAVA? and if possible then what functions are required to implement

채택된 답변

Tejas M U
Tejas M U 2014년 6월 30일
There is a product called MATLAB Builder JA which will create Java code that can execute the MATLAB code. This is not code conversion. This product allows you to use the MATLAB functions from Java program. The link below gives more details about the product:
Here is a simple example:

추가 답변 (1개)

Qasem Makki
Qasem Makki 2021년 12월 8일
function AddClientButtonPushed(app, event)
if app.AddClient
disp('*** Take it easy dude, I''m working...');
else
app.AddClient = true;
end
% node = app.nodes.add_client(app.AddressEditField.Value, app.RemotePortEditField.Value, app.LocalPortEditField.Value);
% if ~isempty(node)
% try
% node.transmit(p2p.MessageType.QUERY_LATEST, []);
% catch ME
% disp('*** Node not replying');
% end
% end
end

카테고리

Help CenterFile Exchange에서 Java Package Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by