S-Function Builder Output directory

6 次查看(过去 30 天)
Hans W
Hans W 2023-1-30
评论: Hans W 2023-3-18
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?

回答(1 个)

Amit Dhakite
Amit Dhakite 2023-3-16
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 个评论
Hans W
Hans W 2023-3-18
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! :)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by