필터 지우기
필터 지우기

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