Matlab code to C code converter

Hi,
Is there any method avilable to convert MATLAB code into C code for perticular application of ANN.

Regards,
Manoj
0
Manoj
8/10/2010 11:29:07 PM
comp.soft-sys.matlab 206931 articles. 560 followers. lunamoonmoon (258) is leader. Post Follow

1 Replies
1733 Views

Similar Articles

[PageSpeed] 38
Manoj wrote:

> Is there any method avilable to convert MATLAB code into C code for 
> perticular application of ANN.

Yes: use one or more humans to rewrite the code.

If you are looking for automated methods, then it depends upon which 
Matlab version you are using, but chances are that if you are using a 
Matlab version old enough to be compilable to C then it probably doesn't 
support the Neural Network toolbox.

Are you sure you need to convert the Matlab to C and not just produce an 
executable from the Matlab code?
0
Walter
8/11/2010 5:12:56 AM
Reply:
Similar Artilces:

Code style question
I stumbled across the following code (in the regex library by Kenneth Parker) and would, out of curiosity, like to know what people think of it: (defun make-anchored-matcher (matchfn) #'(lambda (*str* *regs* *start* *end* *start-is-anchor* *end-is-anchor* *acceptfn* *hooks*) (declare (special *str* *regs* *start* *end* *start-is-anchor* *end-is-anchor* *acceptfn* *hooks*)) (declare (ftype (function (fixnum) t) matchfn)) (catch 'cease-matching (f...

How do you do ARIMA in matlab?
Hi, (Sorry for cross-posting) I am clueless w.r.t using matlab for time series. I have a time series and I would like to make estimates of future using the past. How do I develop a ARIMA(p,q,r) model in Matlab. Thanx a lot Vamsi help armax (system identification toolbox) /Johan Bala Vamsi Tatavarthy wrote: > Hi, > (Sorry for cross-posting) > I am clueless w.r.t using matlab for time series. I have a time series > and I would like to make estimates of future using the past. How do I > develop a ARIMA(p,q,r) model in Matlab. > > Thanx a lot > > Vamsi > ...

US-TX-Austin: Sr. RF Comm Systems Eng., WPAN, WLAN knowledge; C-P (45316857604)
US-TX-Austin: Sr. RF Comm Systems Eng., WPAN, WLAN knowledge; C-P (45316857604) =============================================================================== Position: Sr. RF Comm Systems Eng. Reference: SMC01627 Location: Austin TX Duration: C-P Skills: BSEE required, MSEE preferred, with a PhDEE a plus. Applicable communications systems engineering experience. Communications systems design and analysis experience. Prior success in the definition, development and implementation of multiple wireless co...

MATLAB's SOUND() function in C
Is there a way to implement MATLAB's sound function under C? For those who don't use MATLAB, it's essentially a simplistic, static, mono sound function that converts a series a numbers into a sound at a given sampling rate. nothing fancy. all the Sound APIs begin by discussing all the fancy drivers and buffers and crazy shit i don't really care about. Thanks. In article <1151779016.882805.282580@d56g2000cwd.googlegroups.com>, sluox@yahoo.com wrote: > Is there a way to implement MATLAB's sound function under C? > > For those who don'...

C-level command for [file join [file dirname [info script]]
I'm working on a binary extension for Tk and, as part of this project, must initialize a path to an image file at the C level. (For various reasons, I can't do this at the Tcl level when I load the library.) I'm storing the image file in the same directory as the compiled library. Because the package may be installed in numerous places, I can't simply hard-code the path. In Tcl's C API, what's the equivalent of [file join [file dirname [info script]] foo.png] ? Advice appreciated. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ...

pgsql-server: Use new forboth() macro to make loop coding a bit clearer.
Log Message: ----------- Use new forboth() macro to make loop coding a bit clearer. Modified Files: -------------- pgsql-server/src/backend/tcop: pquery.c (r1.78 -> r1.79) (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/tcop/pquery.c.diff?r1=1.78&r2=1.79) ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings ...

Cannot open *.fig files from MATLAB 2008b in MATLAB 2014a
Like in subject, I cannot open figures made in MATLAB 2008b in MATLAB 2014a environment. Scenario: copy *.fig files from 2008b environment into 2014a, set paths with subfolders, try to open *.fig in 2014a. I would like to have a confirmation if it is compatibility problem or not. Here is the answer form MATLAB in Command Window java.lang.ClassCastException: [D cannot be cast to [Ljava.lang.String; at com.mathworks.toolbox.matlab.guide.LayoutEditor.completed(LayoutEditor.java:2217) at com.mathworks.toolbox.matlab.guide.LayoutEditor$ReadFigureCompleted.completed(LayoutEditor.java...

How to create a DLL for LabVIEW in MatLab
I want to use MatLab-Code from an M-file in LabView without MatLab. So i decide to use external code in a DLL. Can anybody give me some hints - how to do? (How to create, how to use?) Used System Windows 98, LabVIEW 6.1, MatLab 6.1 R12.1 Thanks Hi, I use Matlab-Code in Labview and it's don't need create a dll. The LV was a tool, matlab script, you can write your code Matlab here. see the examples of LV.I think the lV 6.1 have. Dll it's very complicated :D I would like to use LabVIEW !without MatLab. If i use these solution i need MatLab too. I've investigated and i think ...

MATLAB mistaken a structure with a figure
I have some *data* structure S that I save in matfile save xxx.mat -struct s With V 2014B I get the warning message Warning: Figure is saved in D:\Documents\MATLAB\XXX.mat. Loading this file recreates and displays the figure and its contents. Refer to save for more information. K>> [~, b] = lastwarn b = MATLAB:Figure:FigureSavedToMATFile It looks like MATLAB mistaken my data with a figure. This works fine under 2014A and previous. Annoying. Some how I feel I will have a lot of works to do to adapt my codes for the new release 2014B. Bruno ...

Re: Call Stored Process from SAS Code #4
Great link/resource! Thanks, Scott. I must be tired or the sad weather has it's impact 'cause when I was one click away from bookmarking this link's parent page (either the one I got to by clicking on 'Enterprise Integration' or by clicking on 'SAS Integration Technologies Home') I realized that I would not be able to find the "Developer's Guide" again ... Seems to be intended for insiders only ;-) Thanks again Robert > -----Urspr´┐Żngliche Nachricht----- > Scott Barry > > Check the SAS.COM website for their documented > resources on...

Streamlines in Matlab
Hi guys, I am very new to matlab, so any help at all would be very much appreciated. I am attempting to plot the streamlines for a streamfunction with contour lines: C (=constant) = y/3 - 3y/ [(x- 3/2)^2 + y^2] Would anybody be able to help me with this? Thank you very much for your time. On Feb 21, 3:59=A0am, ben <bl...@ic.ac.uk> wrote: > Hi guys, > > I am very new to matlab, so any help at all would be very much appreciate= d. I am attempting to plot the streamlines for a streamfunction with contou= r lines: > > C (=3Dconstant) =3D =A0y/3 - =A03y/ [(x- 3/2)^2 =...

Why you should convert your vehicle to flex fuel
Dear Everyone, as you know the price of the Oil is more and more increasing, while the oil supply is decreasing. Moreover Oil is causing wars, terror, oil spills and a lot of greenhouse gases. By upgrading your car to flex fuel, you will continue to be able to use oil. However you will also have the opportunity to use E85, that means more freedom of choice. The conversion cost is about 200-250 USD. By choosing ethanol, you choose local fuel production, which means labour for farmers, labour for enginneers and workers in the ethanol plant, labour for transportation. Moreover you also...

20 New MATLAB and Simulink based books #2
As you may know, The MathWorks Book Program supports authors and publishers that develop books that utilize MATLAB or any products developed by The MathWorks. We are pleased to announce the addition of 20 new titles to our web site. Below is the list of new titles, separated by category. For more information about these titles, or to learn more about the MathWorks Book Program, please visit our web site at: <http://www.mathworks.com/support/books> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - COMMUNICATIONS Title: Detection and Estimation Theory and Its ...

Obtain error message from MATLAB engine
Hi, I use the MATLAB engine to control MATLAB from a custom C program. Everything works fine, I can open the engine and send commands via engEvalString(). However, I would like to how to retrieve the error message from MATLAB if the sent command caused an error. I managed to obtain the output of valid commands through engOutputBuffer(), but it appears that error messages are _not_ placed in the output buffer. But surely it must be somehow possible to come by them? Hi John, How about using engEvalString() to execute the lasterror MATLAB function? That's all I can see. I used the COM ser...

[9fans] etherigbe.c using _xinc?
Hi, I noticed etherigbe.c (in igberballoc) was recently changed to increment the refcount on the block it allocates. Any reason it uses _xinc rather than incref? -- vs On Tue Dec 8 11:28:30 EST 2009, me@acm.jhu.edu wrote: > Hi, > > I noticed etherigbe.c (in igberballoc) was recently changed to > increment the refcount on the block it allocates. Any reason it uses > _xinc rather than incref? > > -- vs because it's not a Ref. unfortunately, if it were a Ref, it would be much faster. _xinc is deadly slow even if there is no contention on x86. ...

Coding repeated observations in regression: /r. /n ?
Instead on representing the data as one line per observation, SAS has a way of identifying the frequency count of each unique possible combination (of independent regressors to go in model statement). So instead of 2000 lines of data, there could be 4 lines of data with a frequency count of each specified with syntax something like. /n=r; What is this feature called ? I am searching with repeated duplicate frequency but not finding useful examples for use in Proc Logistic. SS. On 8/31/09, Stephen <stephentgallagher@gmail.com> wrote: > Hello-- > > I don't deal with...

Problem with C++ program while using CC-compiler
Hi, I have a problem with C++ program below while using CC-compiler. $ CC -V CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 ------ C++ Program (foo.cpp) ------ #include <string> #include <vector> using namespace std; int main () { char* a[] = {"AAA", "BBB", "CCC"}; vector<string> v (&a[0], &a[0] + sizeof(a)/sizeof(*a)); // Line#8 return 0; } ------------------------------- Compilation: $ CC foo.cpp "foo.cpp", line 8: Error: Could not find a match for std::vector<std::string>::vector(char**,...

Problem with Modelsim 6.5 and Matlab/Simulink 2012a version
Sir, I'm using Matlab 2012a (32 bit) in my Windows 7 (64 bit) os and Altera web edition 9.1 (32bit)and Modelsim 6.5b (bit). When I tried to RUN MATLAB EXAMPLE: Verifying Viterbi Decoder Using ModelSim or Creating an FPGA Domain Model (dxpcSGIO301servo_fpga ) I got Warning: ModelSim Altera edition is not supported by HDL Verifier > In hdlsim>l_ParseVsimVersion at 1068 In hdlsim>l_GetModelSimLibInfo at 527 In hdlsim at 115 In vsim at 106 AND: at Modelsim: # ** Error: (vsim-FLI-3155) The FLI is not enabled in this version of ModelSim. # ** Error: (vsim-F...

US-TX-Austin: Sr. RFIC Designer, RF CMOS, SiGe BiCMOS ASIC exp., Candence; C-P (45335632403)
US-TX-Austin: Sr. RFIC Designer, RF CMOS, SiGe BiCMOS ASIC exp., Candence; C-P (45335632403) ============================================================================================ Position: Sr. RFIC Designer Reference: SMC01649 Location: Austin TX Duration: C-P Skills: BSEE w/ 5+ years of on-chip RF transceiver design at frequencies >3GHz. Transistor-level design of low-noise amplifiers, mixers, amplifiers, phase-locked loops, and data converters. RF CMOS and SiGe BiCMOS ASIC experience ...

matlab pool
may i knw what is batch job, matlab pool in parallel computing I am sorry, but I think you need to be a bit more specific in your question. Did you look in the documentation before you asked this question? --DA "Daniel Armyr" <firstname@lastname.se> wrote in message <ghj5it$g1n$1@fred.mathworks.com>... > I am sorry, but I think you need to be a bit more specific in your question. Did you look in the documentation before you asked this question? > > --DA In R2006b , there havn't give any information regarding matlab pool or batchjob in the documentatio...

hello c boi mwdri kx
--D.9E4DD31E5.E84FCC3F__ Content-Type: text/html; Content-Transfer-Encoding: quoted-printable <title>prologue</title> <body> <p>HI,Info-ingres <table border=3D"0" width=3D"57%" cellspacing=3D"0"> <tr> <td width=3D"100%"> <p align=3D"center"><b><font size=3D"6" color=3D"#FF0000">BANNED CD!= </font></b></td> </tr> <tr> <td width=3D"100%"> <p align=3D"center">&...

General Java Matlab lib questions
Am somewhat of a Matlab noob and I have some general questions, maybe someone could comment: - Can I write a Java app that could take as input the following: - Data from an external source (say a database) that represents Matlab variables (like matrices) - A string that represents a Matlab expression that is a function of these variables And then produce the output of the expression, in the form of a matrix or a scalar. In other words, is it possible to parse a string that represents a Matlab expression and execute the expression in the Matlab environment from Java? ...

Coding MIDI Music Notation
I am programming some MIDI to Music Notation software, and since there isn't a whole lot of information on the subject, I wondered if anyone had any experience or tips to share on how to go about doing it. Are there any books out on the subject? And specifically, how does one go about using a music font for portraying MIDI in a musical score? Thanks. On Saturday 13 November, nospamformeoryou@yahoo.com wrote in comp.music.midi: > I am programming some MIDI to Music Notation software, and since there > isn't a whole lot of information on the subject, I wondered if anyone > ...

PowerTerm Source Code
All, I have released some old code I wrote 13+ years ago. An MSDOS based pr00gie I used for BBS'n. Has all the popular emulations, protocols builtin to include kermit. http://www.iatechconsulting.com ...

Code samples to save data to Access via ADO
Hi I have basic understanding of bound controls. Does anyone have sample code that shows the use of ADO and unbound controls. I`d need to save general controls like editboxes and stringgrids via ADO code. The database is Access. Thanks....alot for the help. ...