MATLAB Answers

problem with compiling the ai2mif.c file in delsig toolbox

1 view (last 30 days)
ajit kumar
ajit kumar on 15 Jul 2011
Answered: John Wincn on 18 Feb 2020
Hi, i am trying to install the delsig toolbox in the matlab. To speedup the simulations it is required to compile the following files
  1. simulateDSM.c
  2. simulateESL.c
  3. ai2mif.c
  4. flattenStruct.c
However when i try to simulate the ai2mif.c file i get the following error. "lcc preprocessor error: ai2mif.c:68 Could not find include file <strings.h>". Can you tell me how do i fix this?
thank you.

  2 Comments

liao z
liao z on 16 Aug 2011
i have the same problem when I mex ai2mif.c!
if you know the solution, it will be very nice of you to share the solution....
thanks a lot...
shilpi
shilpi on 23 Aug 2014
i have encountered the same problem.. please help if any one know the answer.

Sign in to comment.

Answers (2)

shilpi
shilpi on 28 Aug 2014
i got the solution... just comment the line strings.h? and it is working..

  0 Comments

Sign in to comment.


John Wincn
John Wincn on 18 Feb 2020
Better solution -- Download and install MinGW add-on from Mathworks. Once installed, run 'mex -setup' and follow instructions for selecting MinGW as the compiler. That way, you need not think about missing 'strings.h' file in your development work.

  0 Comments

Sign in to comment.

Sign in to answer this question.