-
Notifications
You must be signed in to change notification settings - Fork 22
/
simulate.m
24 lines (17 loc) · 808 Bytes
/
simulate.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
function results = simulate(scenarioFunctionHandle, enableParallelSim)
% System-Level 5G-based integrated sensing and communcation Simulator
% Simulate multi-node integrated sensing and communcation network.
% Author: D.S.Xue, Key Laboratory of Universal Wireless Communications,
% Ministry of Education, BUPT.
%% BUPT copyright
tools.printCopyright
%% Initialize simulation parameters
simuParams = parameters.simulationParameters;
simuParams = scenarioFunctionHandle(simuParams);
%% ISAC multi-node simulation
[comResults, senResults] = simulation.networkSimulation(simuParams, enableParallelSim);
%% Restore results
results = struct;
results.communicationResults = comResults;
results.sensingResults = senResults;
end