problem with compiling the ai2mif.c file in delsig toolbox

2 Ansichten (letzte 30 Tage)
ajit kumar
ajit kumar am 15 Jul. 2011
Beantwortet: John Wincn am 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 Kommentare
liao z
liao z am 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 am 23 Aug. 2014
i have encountered the same problem.. please help if any one know the answer.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

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

John Wincn
John Wincn am 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.

Community Treasure Hunt

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

Start Hunting!

Translated by