S-Function Builder Output directory

I have a Simulink Realtime model. In several model locations, I need to include system log outputs simliar to this tutorial using SFunctionBuilder. Is there a way to specify the output directory for those? Right now, I generate a lot of .mat, .mexw64 and .cpp files for each SFunctionBuilder directly in the main directory of my project, which becomes really messy. Is there any way to specify a subdirectory for those build artifacts, similar to the _slrealtime_rtw and slprj directories?

Réponses (1)

Amit Dhakite
Amit Dhakite le 16 Mar 2023

1 vote

Hi Hans,
I understand that you would like to have S-Function files generated in a specific directory, instead of the default main directory.
After reviewing your question, I have found a similar issue addressed in a MATLAB Answer. You can find the link to this thread attached below:

1 commentaire

Hans W
Hans W le 18 Mar 2023
Thanks! Unfortunatley this looks like a global "setting", I'd need this to be project local so it sync via git, otherwise I need to make those changes to all of their computers. But maybe there is just no option for that currently. Thanks anyway! :)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Question posée :

le 30 Jan 2023

Commenté :

le 18 Mar 2023

Community Treasure Hunt

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

Start Hunting!

Translated by