MATLAB Answers


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

Really need the answer to this question!

Log in to comment.

0 Answers

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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!