Hi researchers
I want to convert matlab to c++
What can i do about it?
thanks
Hello Mehdi
You can use mex.
This presentation shows how you can use a command-line approach or the graphical project management tool to:
Introduce implementation requirements, such as data types and sizes, static/dynamic memory allocation, and code in-lining, into your MATLAB algorithm
Generate readable source code, an executable, or a library
Generate MEX functions to verify the behaviour of the generated code in MATLAB
Generate MEX functions to accelerate your MATLAB code
https://www.mathworks.com/videos/automatically-converting-matlab-code-to-c-code-96483.html
https://www.mathworks.com/matlabcentral/answers/79294-convert-matlab-program-to-c
Hi Mehdi,
You can MEX ,check following links
http://www.mathworks.com/matlabcentral/newsreader/view_thread/79469
https://www.quora.com/How-can-I-convert-MATLAB-code-to-C-code
https://www.youtube.com/watch?v=nybfWd4oYFk
http://stackoverflow.com/questions/38216293/is-it-possible-to-convert-c-mexmatlab-code-to-standalone-c
Hello How can I combine matlab codes with Visdual studio? I need it for my thesis Please help
01 January 1970 4,105 4 View
Hello all, In SPSS I am going to code 2 open-ended questions. I have already read all the answers and I made a list of the most important categories to which I can code the answers. This question...
02 March 2021 1,757 4 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
I am working on modeling and simulation of biomecanical material behaviour, I have succeded on simulating skin using anisotropic hyperelastic material, on APDL and in our lab's finite element...
28 February 2021 552 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
Hello, As part of simulation of gases mixture and water, I need to calculate viscosity of the fluid components and I am using relationships proposed by Chung et al. (1988). The irony is while I...
25 February 2021 8,053 5 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