Use filesep to use the correct separator for the current platform. Currently when using Linux, the file isn't placed in a folder, but the filename itself contained the folder name with backslash.
I observed that changes to the agc_settings using run_testbench.m didn't get applied, because find_system() didn't update the library links in the subsystem. I therefore turned "FollowLinks" on.
Just pushed another commit to fix the case when AGC_MODE is not set to 3. It was setting the parameter with the block name ‘Attackmode’, but it needs the name of the MaskParameter, which is ‘agc’.
filesep
to use the correct separator for the current platform. Currently when using Linux, the file isn't placed in a folder, but the filename itself contained the folder name with backslash.agc_settings
usingrun_testbench.m
didn't get applied, becausefind_system()
didn't update the library links in the subsystem. I therefore turned "FollowLinks" on.