I have written a script in Matlab. I need to run a R script while running that Matlab script by passing an input the R function in the R script.
There is a file exchange function, but it only works on Windows OS.
https://www.mathworks.com/matlabcentral/fileexchange/5051-matlab-r-link
You may try calling both R and Matlab from python - python has rpy2 for R and pymatbridge for Matlab.
I suggest you take a look to the following link
http://neurochannels.blogspot.com/2010/05/how-to-run-r-code-in-matlab.html
Thank you Mohomed for the advice, but these packages does not support most recent R versions as R 3.5. Is there any other method?
I and my group members decided to carry out the above-mentioned research project but due to COVID-19 crisis, we are unable to carry out our own experiment and obtain these thermal images.
07 August 2020 9,351 2 View
I want to cluster diurnal temperature curves based on their shapes. Which software is more suitable to do the clustering?
27 January 2016 7,850 1 View
Good afternoon, I recently used OmniLog from BIOLOG for my experimentations : I tested the metabolism of different strains on 2 types of plates. I have 16 strains of 3 different groups...
02 March 2021 3,584 1 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
The following code (see 1st 2 images attached) is used to produce PID controller values that are designed to control the system (G). The code finds the PID controller values (noted as k) by using...
28 February 2021 6,560 14 View
I have input and output data set for "ANFIS modeling in MATLAB", and I am getting some negative predicted values of output in testing. However, the predicted values of output in training are...
28 February 2021 3,459 3 View
In R-studio, there are many commands of Gumbel package. Arguments are also different. I`m asking about the alpha parameter of the Copula which must be greater than 1. If this is the one used to...
25 February 2021 5,229 3 View
I am required to learn about Flyback converters and I got stuck not knowing to full design of the power supply flyback converter Based USB Charger Model using Simulink, especially the design model...
25 February 2021 5,435 2 View
I do need the Matlab code of Fractal Discrete Cosine Transform (FDCT). Can anyone who has already implement this code, help me with the implementation of this transform?
24 February 2021 5,602 2 View
Hi Hope you are well. Can you please share your code for D2D implementation in Matlab. I want to implement D2D in Matlab based Vienna simulator and struggling to deploy D2D. Thanks
24 February 2021 9,378 3 View
Dear colleagues If anyone has a model of multi-effect distillation in EES or MATLAB software, please send it to me.
24 February 2021 7,282 1 View
Hi, I am a third year chemistry undergrad doing my group project in which I need to predict the HPLC retention time of 20 aromatic molecules. to do this we require the chemical properties of these...
24 February 2021 1,384 3 View