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,173 4 View
I need to model an anisotropic material in which the Poisson's ratio ν_12 ≠ ν_21 and so on. Therefore, the elastic compliance matrix wouldn't be a symmetric one. In ANSYS APDL, for TB,ANEL...
09 August 2024 5,048 2 View
Request Python code from this article : Gender equity of authorship in pulmonary medicine over the past decade. THANKS!
08 August 2024 6,242 2 View
Visual Studio Code (VS Code) has become a popular choice among developers for several reasons: 1. **Free and Open Source**: VS Code is free to use and open source, making it accessible to...
07 August 2024 7,013 4 View
I need the python code to forecast what crop production will be in the next decade considering climate and crop production variables as seen in the attached.csv file.
05 August 2024 2,977 3 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View
Please, what is the memory consumption of the Matlab function quad tree decomposition procedure [S = qtdecomp(I)] with respect to the input set I?
27 July 2024 5,455 2 View
all math can be traversed by code? all math can be translate to code?
26 July 2024 9,530 0 View
Hello, I am a research scholar currently working on a project involving image segmentation, and I am interested in using differential evolution for this purpose . I would greatly appreciate it if...
25 July 2024 9,926 1 View
Currently, I have created a gate-all-around process using sentaurus tcad and I am trying to measure the noise using the cmos noise code. However, an error occurred during the simulation. The error...
24 July 2024 6,352 0 View
Hello!!! I want to implement the Swerling characteristics functions (CF) directly in MATLAB without using its Fourier integral pairs...the Swerling CFs are actually Laplace Transform of the signal...
23 July 2024 4,925 1 View