For a better experience on dSPACE.com, enable JavaScript in your browser. Thank you!

FAQ 298: Best Practice for Handling S-Functions, Libraries and Additional Source Code

Question

I have organized my S-Function MEX-files, source files and header files in separate folders. When using an S-Function in a model I would like to add the respective source paths to the build process. How can I do that?
My custom code references object files or libraries. How can I use these libraries?

Answer

Tags

Date 2013-08-01
Type de logiciel Logiciel d’implémentation
Produit ConfigurationDesk, Real-Time Interface (RTI)
Type Foire Aux Questions
Catégorie d’information Travailler avec
Release dSPACE 2017-A, 2016-B, 2016-A, 2015-B, 2015-A, 2014-B, 2014-A, 2013-B, 2013-A, Avant la 2013-A
Keywords additional paths, S-Function source files, user makefile, USR.MK file, rtwmakecfg.m, libraries, user makefile, USR-MK file, Custom Code Page, Simulink Coder®, Real-Time Workshop®