Dear all, nowadays I´m facing a problem with S-function builder block. I need to include the libtorch library in order to run it on a real-time platform, the problem is The library is made up of a lot of files thats includes another files. I know that if I want to include external libraries I should use """ instead of <> to include the libraries at the "Libraries" Tab in S-function builder, however the file that I include, includes other files but using <> and those files calls others files using <> and so on. There is a way to include the whole library in the S-function?
This is my workspace, the alreay generated mex and wrapper are only a test, no included libraries on it.
These are the first header files, I need to include "script.h" in order to initialize the objects of the library, each of the includes inside script.h includes more .h files :C. I can include "script.h", but it fails when simulink tryes to include the other files:
There is a way to include the whole library? Please help.