How to specify relative code paths in S-function builder
10 ビュー (過去 30 日間)
When setting INC_PATH, etc. in the S-function builder, how do I specify that path relative to some path (preferably from the directory in which the model is stored).
Use case: The simulink model exists in a git repo that is clone by multiple users. The code in the S-function builder block depends on a fair bit of C code that is also in that repo (and hence at a known location relative to the model slx file). Forcing each user to go in and edit full paths for their machine is annoying to say the least.