Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

How can I use Linux libraries in S-function builder?

Asked by Maialen on 16 Jun 2014
Latest activity Commented on by Michael Rodriguez on 8 Aug 2014

Hi everybody,

I am trying to create my own block in Simulink using S-function builder. I need to use some Linux libraries (like sys/ioctl.h) but my operating system is windows 7. I have tried to transfer that .h files by hand but I get the following error:

"Creating library prueba.lib and object prueba.exp prueba_wrapper.obj : error LNK2019: unresolved external symbol ioctl referenced in function prueba_Outputs_wrapper prueba.mexw64 : fatal error LNK1120: 1 unresolved externals"

I don't know how to solve this problem. Any suggestions?

Thanks in advance.

1 Comment

Michael Rodriguez on 8 Aug 2014

Really need the answer to this question!

Maialen

0 Answers

Contact us