problem with compiling the ai2mif.c file in delsig toolbox

2 次查看(过去 30 天)
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 个评论
liao z
liao z 2011-8-16
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 2014-8-23
i have encountered the same problem.. please help if any one know the answer.

请先登录,再进行评论。

回答(2 个)

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

John Wincn
John Wincn 2020-2-18
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by