Convert an R script to Matlab

23 ビュー (過去 30 日間)
Sergio Cantino
Sergio Cantino 2019 年 6 月 17 日
回答済み: Suryaansh Mata 2019 年 6 月 18 日
Hi,
Is there a tool to convert an R script in Matlab?
Best Regards
Sergio Cantino.

回答 (1 件)

Suryaansh Mata
Suryaansh Mata 2019 年 6 月 18 日
TLDR: No, there is not inbuilt functionality to convert R code to MATLAB code
No, MATLAB and R are essentially two different programming languages and there does not exist any inbuilt utility in either MATLAB or R to convert the Coder from one to another.
There might exist any external utility or hard coded converter that does the job, one such utility can be found here which can be given a try https://www.mathworks.com/matlabcentral/fileexchange/5051-matlab-r-link
Note-: There exist inbuilt MATLAB products that can convert MATLAB code to C/C++ or static and dynamic libraries and executables. Search for MATLAB Coder or the 'codegen' command.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by