Welcome to Mandalay Technological University Forum ဴမန္မာအင္ဂဵင္နီယာမဵားဖိုရမ္ |
| | How to change MatLab codes to C/C++ codes | |
| | Author | Message |
---|
seygyi LEVEL '3'
Number of posts : 89 Age : 49 Location : Shanghai, China. Occupation : Postgraduate Student Batch if MIT (if not simply fill YIT) : 4th Registration date : 2006-10-22
| Subject: How to change MatLab codes to C/C++ codes Wed Oct 25, 2006 1:13 pm | |
| Is there anybody who knows how to change MatLab codes to C/C++ codes. If someone knows, please tell me! I would like to know that! Thanks! Regards, Seygyi | |
| | | ZawMinHt Guest
| Subject: Re: How to change MatLab codes to C/C++ codes Fri Oct 27, 2006 6:21 am | |
| - seygyi wrote:
- Is there anybody who knows how to change MatLab codes to C/C++ codes.
If someone knows, please tell me! I would like to know that! Thanks! Regards, Seygyi Ko Sey Tote, Why do you want to port Matlab codes to C/C++ codes ? If the answer is just to make stand-alone application, there is no need to do that way. Otherwise, you should have a reason why you want a C/C++ equivalent code of Matlab. Because that's the job of software engineers at Matlab. They convert MatLab codes to some sort of intermediate code ( maybe C) and then into native code( host). Any way , if you are very keen to know how they works, you can have a try at GNU Octave which is open source. Now, you can convert your existing Matlab codes to native (standalone) files using their MATLAB compiler which is linked to their libraries for various modules. For new codes, you may write in MatLab code or in C/C++ which can be linked to MATLAB libraries. So the step of creating C code from MatLab code may be redundant. ( I don't know it is right for you ) |
| | | seygyi LEVEL '3'
Number of posts : 89 Age : 49 Location : Shanghai, China. Occupation : Postgraduate Student Batch if MIT (if not simply fill YIT) : 4th Registration date : 2006-10-22
| Subject: Re: How to change MatLab codes to C/C++ codes Fri Oct 27, 2006 1:54 pm | |
| - ZawMinHtut wrote:
- seygyi wrote:
- Is there anybody who knows how to change MatLab codes to C/C++ codes.
If someone knows, please tell me! I would like to know that!
Thanks! Regards, Seygyi Ko Sey Tote,
Why do you want to port Matlab codes to C/C++ codes ? If the answer is just to make stand-alone application, there is no need to do that way. Otherwise, you should have a reason why you want a C/C++ equivalent code of Matlab. Because that's the job of software engineers at Matlab. They convert MatLab codes to some sort of intermediate code ( maybe C) and then into native code( host). Any way , if you are very keen to know how they works, you can have a try at GNU Octave which is open source.
Now, you can convert your existing Matlab codes to native (standalone) files using their MATLAB compiler which is linked to their libraries for various modules. For new codes, you may write in MatLab code or in C/C++ which can be linked to MATLAB libraries. So the step of creating C code from MatLab code may be redundant. ( I don't know it is right for you ) Hi! Thanks a lot for your detail explanation. I am just a dummy in programming field. And I like to know is also just I need the equivalent C codes of some MatLab codes. Anyway, OK! I thank you very much! I will try again and if I have some more difficulties, please let me ask you! Regards, Seygyi Shanghai, China. | |
| | | Sponsored content
| Subject: Re: How to change MatLab codes to C/C++ codes | |
| |
| | | | How to change MatLab codes to C/C++ codes | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |
|