I cannot run Quick Start

To learn how to work with Vienna 5G System Level Simulator, I tried to run LauncherExample.m in Matlab R 2021b. The simulator folder and its subfolder along with simulate.m are in the working directory. However, I get the following error.
Is there any bug in the LaucherExample.m or simulate.m ?
I can see dataFiles/channelTraces in the working directory.

  • /Users/samad/Documents/MATLAB/5G_systemlevel-release_1.2/dataFiles/channelTraces

Generating UE fast fading and saving to dataFiles/channelTraces/f11186f6cb637fb95e6be178c20a452d7377c04e.mat
Generating 4x2 channel trace of length 2000.00slots
50.00% 100.00%
Channel trace could not be saved. (Cannot create ‘f11186f6cb637fb95e6be178c20a452d7377c04e.mat’ because ‘dataFiles/channelTraces’ does not exist.).
simulating chunk 1…
Generating UE fast fading and saving to dataFiles/channelTraces/f11186f6cb637fb95e6be178c20a452d7377c04e.mat
Generating 4x2 channel trace of length 2000.00slots
50.00% 100.00%
Channel trace could not be saved. (Cannot create ‘f11186f6cb637fb95e6be178c20a452d7377c04e.mat’ because ‘dataFiles/channelTraces’ does not exist.).
Loading UE fast fading from dataFiles/channelTraces/f11186f6cb637fb95e6be178c20a452d7377c04e.mat.
Channel trace could not be loaded.(Unable to find file or directory ‘dataFiles/channelTraces/f11186f6cb637fb95e6be178c20a452d7377c04e.mat’.).
Output argument “Trace” (and possibly others) not assigned a value in the execution with
“smallScaleFading/PDPcontainer/loadTrace” function.

Error in smallScaleFading.PDPcontainer/updatePDPcontainer (line 633)
obj.PDPtraces{traceIndex} = obj.loadTrace(iAntConf);

Error in simulation.ChunkSimulation/runSimulation (line 242)
pdpContainer.updatePDPcontainer(obj.antennaList, obj.users(obj.isUserRoi));

Error in simulation.LocalSimulation/run (line 68)
chunkResultList(ii) = obj.chunkSimulationList(ii).runSimulation();

Error in simulate (line 67)
localSimulation.run();

Error in launcherFiles.launcherExample (line 27)
result = simulate(@scenarios.basicScenario, parameters.setting.SimulationType.local);

Please advise me how to fix the problem ASAP.
Regards

Dear Samad,

I tried running LauncherExample.m using Matlab R2021b, but I did not encounter any error.

Where did you run the launcher file? Make sure to switch to the simulator’s root directory (where simulator.m is), then run it from there.

Regards,
Charmae