MATLAB importing C libraries

This is a discussion on MATLAB importing C libraries within the C Programming forums, part of the General Programming Boards category; i know this is a long shot but does anyone know what types of C libraries I can or cannot ...

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

    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:
    Code:
    > 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
    diagnoseError(err);
    
    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
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    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.

    --
    Mats
    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, 05: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, 03: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21