Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

MatLab and Code::Blocks

<< < (4/4)

MortenMacFly:

--- Quote from: zergling on January 13, 2011, 09:10:42 am ---Finally I was able to go over the script wizard :D

--- End quote ---
Sounds good... :-)


--- Quote from: zergling on January 13, 2011, 09:10:42 am ---The only problem it that I do not know which header files I have to include...
By default I have #include <windows.h> that is for a windows system.

--- End quote ---
To be honest: I can't tell.
--- Code: ---windows.h
--- End code ---
can be removed obviously, but which one are needed you'll see when you compile the S-function... via trial-and-error. I simply don't know the dependencies of the Linux libraries of Matlab. Again you can try to compile under Matlab using mex with the "verbose" switch and/or look at the S-function samples that are shipped with Matlab.


--- Quote from: zergling on January 13, 2011, 09:10:42 am ---By the way, can I remove all the lcc references in the script?

--- End quote ---
Yes, certainly. LCC is a Windows only compiler.

Navigation

[0] Message Index

[*] Previous page

Go to full version