How can I convert the MATLAB function in to JAVA?
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
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:
0 个评论
更多回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Java Package Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!