Thread: MATLAB importing C libraries

  1. #1
    Wanabe Laser Engineer chico1st's Avatar
    Join Date
    Jul 2007

    MATLAB importing C libraries

    i know this is a long shot but does anyone know what types of C libraries I can or cannot import into matlab?

    I have made libraries that can be sent to MATLAB before and I made one now which MATLAB will not accept.

    It gives me these errors:
    > In loadlibrary at 218
    In ErikMTF at 14
    ??? There was an error loading the library "C:\Program Files\MATLAB\R2006a\work\DLLTEST\Debug\DLLTEST.dll"
    Error using ==> loaddefinedlibrary
    This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
    Error in ==> loadlibrary at 273
    Error in ==> ErikMTF at 14
    loadlibrary DLLTEST DLLTEST.h addheader nma.h
    Any help would be much appreciated, the C code I have been working with for the last 2 weeks is useless without MATLAB

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    I would expect that Matlab has some specific entry-points in a DLL that makes it a Matlab plugin. Exactly what those are, and how you make them work, I have no idea. But generally that's how plugins work.

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Convert Matlab Algebraic Sol to C compatible
    By Takeshi in forum C Programming
    Replies: 3
    Last Post: 01-08-2009, 06:35 PM
  2. mathematical Libraries
    By kurko82 in forum C++ Programming
    Replies: 2
    Last Post: 09-28-2008, 06:27 AM
  3. importing libraries from elsewhere
    By Opel_Corsa in forum C++ Programming
    Replies: 5
    Last Post: 01-05-2007, 04:38 AM
  4. MinGW thread-safe runtime libraries
    By Mario F. in forum C++ Programming
    Replies: 3
    Last Post: 08-21-2006, 08:15 AM
  5. Importing Libraries
    By Lynchie in forum C Programming
    Replies: 0
    Last Post: 07-19-2002, 02:21 AM