How to resolve dlfcn.h error in simulink?

22 visualizzazioni (ultimi 30 giorni)
Mandeep Rana
Mandeep Rana il 9 Mag 2017
Commentato: Mandeep Rana il 12 Mag 2017
I am working with arduino and trying to do spectrum analysis. Butim getting this contniously. I googled it but unfortunately i couldnt find any solutions for it.
C:/PROGRA~1/MATLAB/R2016b/toolbox/shared/dsp/vision/matlab/include/HostLib_FFT.c:7: C:/PROGRA~1/MATLAB/R2016b/toolbox/shared/dspblks/extern/include/HostLib_rtw.h:15:21: fatal error: dlfcn.h: No such file or directory # include dlfcn.h ^ compilation terminated. gmake: * [HostLib_FFT.o] Error 1 ### Creating HTML report file powerspectrum_test_codegen_rpt.html ### Build procedure for model: 'powerspectrum_test' aborted due to an error. Error(s) encountered while building "powerspectrum_test": ### Failed to generate all binary outputs.

Risposte (1)

Mandar Patwardhan
Mandar Patwardhan il 11 Mag 2017
These errors may be occurring due to stale build folders. Please delete the 'slprj' folder and the everything else from the build folder including the MEX files. Rebuild the model to generate the new MEX files, makefile and other build files and check if you still get an error.

Categorie

Scopri di più su Get Started with DSP System Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by