From 370ee61224d4bc602b04d2998d5434e7c53b0aa0 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Mon, 25 Nov 2024 07:29:03 -0700 Subject: [PATCH] Fix issues with workspace variables in AGC demo Signed-off-by: Travis F. Collins --- test/DemoTests.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/DemoTests.m b/test/DemoTests.m index 1bada9d1..fc56cf9f 100644 --- a/test/DemoTests.m +++ b/test/DemoTests.m @@ -58,6 +58,10 @@ function buildHDLTuneAGC(testCase) end here = pwd; matlab.internal.language.introspective.openExample('comm/WINNERVHTMUMIMOExample', 'helperNoiseEstimate'); + here = mfilename('fullpath'); + here = strsplit(here,filesep); + root = fullfile(filesep,here{1:end-2}); + here = fullfile(root, 'trx_examples' , 'targeting', 'tuneAGC-ad9361'); copyfile("helperNoiseEstimate.m",here); cd(here); hdlworkflow;