problem with compiling the ai2mif.c file in delsig toolbox

2 vues (au cours des 30 derniers jours)
ajit kumar
ajit kumar le 15 Juil 2011
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 commentaires
liao z
liao z le 16 Août 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 le 23 Août 2014
i have encountered the same problem.. please help if any one know the answer.

Connectez-vous pour commenter.

Réponses (2)

shilpi
shilpi le 28 Août 2014
i got the solution... just comment the line strings.h? and it is working..

John Wincn
John Wincn le 18 Fév 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