Welcome to Mandalay Technological University Forum

ဴမန္မာအင္ဂဵင္နီယာမဵားဖိုရမ္
 
HomePortalCalendarGalleryFAQSearchRegisterLog in

Share | 
 

 How to change MatLab codes to C/C++ codes

View previous topic View next topic Go down 
AuthorMessage
seygyi
LEVEL '3'
LEVEL '3'
avatar

Male
Number of posts : 89
Age : 42
Location : Shanghai, China.
Occupation : Postgraduate Student
Batch if MIT (if not simply fill YIT) : 4th
Registration date : 2006-10-22

PostSubject: 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
Back to top Go down
View user profile http://seygyi.blogspot.com
ZawMinHt
Guest
avatar


PostSubject: 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 )
Back to top Go down
seygyi
LEVEL '3'
LEVEL '3'
avatar

Male
Number of posts : 89
Age : 42
Location : Shanghai, China.
Occupation : Postgraduate Student
Batch if MIT (if not simply fill YIT) : 4th
Registration date : 2006-10-22

PostSubject: 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.
Back to top Go down
View user profile http://seygyi.blogspot.com
Sponsored content




PostSubject: Re: How to change MatLab codes to C/C++ codes   

Back to top Go down
 
How to change MatLab codes to C/C++ codes
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» boilermate a class fault codes
» Season of change; need clarity and clear direction.
» Can you change the icon?
» How to change DHW Temperature?
» Change of manner of execution of infra projects.

Permissions in this forum:You cannot reply to topics in this forum
Welcome to Mandalay Technological University Forum :: Computer Software and Programming :: MatLab Programming-
Jump to: