77To make changes, update the MATLAB code and republish this document.
88 -->
99< title > Quadcopter Package Delivery</ title >
10- < meta name ="generator " content ="MATLAB 24.2 ">
10+ < meta name ="generator " content ="MATLAB 25.1 ">
1111< link rel ="schema.DC " href ="http://purl.org/dc/elements/1.1/ ">
12- < meta name ="DC.date " content ="2024-09-13 ">
12+ < meta name ="DC.date " content ="2025-11-29 ">
1313< meta name ="DC.source " content ="quadcopter_package_delivery.m ">
1414< style type ="text/css ">
1515html , body , div , span , applet , object , iframe , h1 , h2 , h3 , h4 , h5 , h6 , p , blockquote , pre , a , abbr , acronym , address , big , cite , code , del , dfn , em , font , img , ins , kbd , q , s , samp , small , strike , strong , tt , var , b , u , i , center , dl , dt , dd , ol , ul , li , fieldset , form , label , legend , table , caption , tbody , tfoot , thead , tr , th , td {margin : 0 ;padding : 0 ;border : 0 ;outline : 0 ;font-size : 100% ;vertical-align : baseline;background : transparent}body {line-height : 1 }ol , ul {list-style : none}blockquote , q {quotes : none}blockquote : before , blockquote : after , q : before , q : after {content : '' ;content : none}: focus {outine : 0 }ins {text-decoration : none}del {text-decoration : line-through}table {border-collapse : collapse;border-spacing : 0 }
@@ -130,82 +130,81 @@ <h2 id="3">Quadcopter Subsystem</h2>
130130< img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_10.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_11.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_12.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_13.png " alt =""> < h2 id ="10 "> Simulation Results from Simscape Logging: Path 4 with Wind</ h2 >
131131< img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_14.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_15.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_16.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_17.png " alt =""> < h2 id ="11 "> Parameter Sweep: Package Mass</ h2 >
132132< p > Using parallel computing we vary the mass of the package to see its effect on the quadcopter trajectory.</ p >
133- < pre class ="codeoutput "> Elapsed Simulation Time Single Run: 18.2268
134- [13-Sep-2024 00:45:10 ] Checking for availability of parallel pool...
133+ < pre class ="codeoutput "> Elapsed Simulation Time Single Run: 26.3536
134+ [29-Nov-2025 06:24:48 ] Checking for availability of parallel pool...
135135Starting parallel pool (parpool) using the 'Processes' profile ...
136136Connected to parallel pool with 6 workers.
137- [13-Sep-2024 00:45:35 ] Starting Simulink on parallel workers...
138- [13-Sep-2024 00:45:40 ] Configuring simulation cache folder on parallel workers...
139- [13-Sep-2024 00:45:41 ] Transferring base workspace variables used in the model to parallel workers...
140- [13-Sep-2024 00:45:41 ] Total size of base workspace variables to send to parallel workers is 6.24 MB.
141- [13-Sep-2024 00:45:42 ] Loading model on parallel workers...
142- [13-Sep-2024 00:46:01 ] Running simulations...
143- [13-Sep-2024 00:47:16 ] Completed 1 of 12 simulation runs
144- [13-Sep-2024 00:47:16 ] Received simulation output (size: 7.68 MB) for run 1 from parallel worker.
145- [13-Sep-2024 00:47:17 ] Completed 2 of 12 simulation runs
146- [13-Sep-2024 00:47:17 ] Received simulation output (size: 7.73 MB) for run 2 from parallel worker.
147- [13-Sep-2024 00:47:17 ] Completed 3 of 12 simulation runs
148- [13-Sep-2024 00:47:17 ] Received simulation output (size: 7.79 MB) for run 3 from parallel worker.
149- [13-Sep-2024 00:47:19 ] Completed 4 of 12 simulation runs
150- [13-Sep-2024 00:47:19 ] Received simulation output (size: 7.83 MB) for run 5 from parallel worker.
151- [13-Sep-2024 00:47:20 ] Completed 5 of 12 simulation runs
152- [13-Sep-2024 00:47:20 ] Received simulation output (size: 7.98 MB) for run 6 from parallel worker.
153- [13-Sep-2024 00:47:25 ] Completed 6 of 12 simulation runs
154- [13-Sep-2024 00:47:25 ] Received simulation output (size: 10.00 MB) for run 4 from parallel worker.
155- [13-Sep-2024 00:47:32 ] Completed 7 of 12 simulation runs
156- [13-Sep-2024 00:47:32 ] Received simulation output (size: 7.95 MB) for run 7 from parallel worker.
157- [13-Sep-2024 00:47:32 ] Completed 8 of 12 simulation runs
158- [13-Sep-2024 00:47:32 ] Received simulation output (size: 8.14 MB) for run 8 from parallel worker.
159- [13-Sep-2024 00:47:32 ] Completed 9 of 12 simulation runs
160- [13-Sep-2024 00:47:32 ] Received simulation output (size: 6.29 MB) for run 12 from parallel worker.
161- [13-Sep-2024 00:47:34 ] Completed 10 of 12 simulation runs
162- [13-Sep-2024 00:47:34 ] Received simulation output (size: 8.19 MB) for run 9 from parallel worker.
163- [13-Sep-2024 00:47:34 ] Completed 11 of 12 simulation runs
164- [13-Sep-2024 00:47:34 ] Received simulation output (size: 8.44 MB) for run 10 from parallel worker.
165- [13-Sep-2024 00:47:40 ] Completed 12 of 12 simulation runs
166- [13-Sep-2024 00:47:40 ] Received simulation output (size: 12.47 MB) for run 11 from parallel worker.
167- [13-Sep-2024 00:47:40 ] Cleaning up parallel workers...
168- Elapsed Sweep Time Total: 91 .00
169- Elapsed Sweep Time/(Num Tests): 7.58
137+ [29-Nov-2025 06:25:21 ] Starting Simulink on parallel workers...
138+ [29-Nov-2025 06:25:28 ] Configuring simulation cache folder on parallel workers...
139+ [29-Nov-2025 06:25:28 ] Transferring base workspace variables used in the model to parallel workers...
140+ [29-Nov-2025 06:25:28 ] Total size of base workspace variables to send to parallel workers is 5.13 MB.
141+ [29-Nov-2025 06:25:29 ] Loading model on parallel workers...
142+ [29-Nov-2025 06:26:00 ] Running simulations...
143+ [29-Nov-2025 06:27:00 ] Completed 1 of 12 simulation runs
144+ [29-Nov-2025 06:27:01 ] Received simulation output (size: 7.68 MB) for run 1 from parallel worker.
145+ [29-Nov-2025 06:27:02 ] Completed 2 of 12 simulation runs
146+ [29-Nov-2025 06:27:02 ] Received simulation output (size: 7.79 MB) for run 3 from parallel worker.
147+ [29-Nov-2025 06:27:03 ] Completed 3 of 12 simulation runs
148+ [29-Nov-2025 06:27:03 ] Received simulation output (size: 7.73 MB) for run 2 from parallel worker.
149+ [29-Nov-2025 06:27:06 ] Completed 4 of 12 simulation runs
150+ [29-Nov-2025 06:27:06 ] Received simulation output (size: 7.83 MB) for run 5 from parallel worker.
151+ [29-Nov-2025 06:27:07 ] Completed 5 of 12 simulation runs
152+ [29-Nov-2025 06:27:07 ] Received simulation output (size: 7.98 MB) for run 6 from parallel worker.
153+ [29-Nov-2025 06:27:12 ] Completed 6 of 12 simulation runs
154+ [29-Nov-2025 06:27:12 ] Received simulation output (size: 10.00 MB) for run 4 from parallel worker.
155+ [29-Nov-2025 06:27:16 ] Completed 7 of 12 simulation runs
156+ [29-Nov-2025 06:27:16 ] Received simulation output (size: 7.95 MB) for run 7 from parallel worker.
157+ [29-Nov-2025 06:27:17 ] Completed 8 of 12 simulation runs
158+ [29-Nov-2025 06:27:17 ] Received simulation output (size: 8.14 MB) for run 8 from parallel worker.
159+ [29-Nov-2025 06:27:18 ] Completed 9 of 12 simulation runs
160+ [29-Nov-2025 06:27:18 ] Received simulation output (size: 8.19 MB) for run 9 from parallel worker.
161+ [29-Nov-2025 06:27:19 ] Completed 10 of 12 simulation runs
162+ [29-Nov-2025 06:27:19 ] Received simulation output (size: 6.29 MB) for run 12 from parallel worker.
163+ [29-Nov-2025 06:27:21 ] Completed 11 of 12 simulation runs
164+ [29-Nov-2025 06:27:21 ] Received simulation output (size: 8.44 MB) for run 10 from parallel worker.
165+ [29-Nov-2025 06:27:26 ] Completed 12 of 12 simulation runs
166+ [29-Nov-2025 06:27:26 ] Received simulation output (size: 12.41 MB) for run 11 from parallel worker.
167+ [29-Nov-2025 06:27:26 ] Cleaning up parallel workers...
168+ Elapsed Sweep Time Total: 77 .00
169+ Elapsed Sweep Time/(Num Tests): 6.42
170170
171171Parallel pool using the 'Processes' profile is shutting down.
172172</ pre >
173173< img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_18.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_19.png " alt =""> < h2 id ="12 "> Parameter Sweep: Trajectory Speed</ h2 >
174- < p > Using parallel computing we vary the target speed of the quadcopter and see if the quadcopter can follow the target path.</ p >
175- < pre class ="codeoutput "> Elapsed Simulation Time Single Run: 38.4391
176- [13-Sep-2024 00:48:47] Checking for availability of parallel pool...
174+ < pre class ="codeoutput "> Elapsed Simulation Time Single Run: 48.1442
175+ [29-Nov-2025 06:28:50] Checking for availability of parallel pool...
177176Starting parallel pool (parpool) using the 'Processes' profile ...
178177Connected to parallel pool with 6 workers.
179- [13-Sep-2024 00:49:08 ] Starting Simulink on parallel workers...
180- [13-Sep-2024 00:49:14 ] Configuring simulation cache folder on parallel workers...
181- [13-Sep-2024 00:49:14 ] Transferring base workspace variables used in the model to parallel workers...
182- [13-Sep-2024 00:49:14 ] Total size of base workspace variables to send to parallel workers is 106.85 MB.
183- [13-Sep-2024 00:49:16 ] Loading model on parallel workers...
184- [13-Sep-2024 00:49:37 ] Running simulations...
185- [13-Sep-2024 00:50:58 ] Completed 1 of 8 simulation runs
186- [13-Sep-2024 00:50:58 ] Received simulation output (size: 6.96 MB) for run 6 from parallel worker.
187- [13-Sep-2024 00:51:02 ] Completed 2 of 8 simulation runs
188- [13-Sep-2024 00:51:03 ] Received simulation output (size: 8.45 MB) for run 4 from parallel worker.
189- [13-Sep-2024 00:51:03 ] Completed 3 of 8 simulation runs
190- [13-Sep-2024 00:51:03 ] Received simulation output (size: 8.45 MB) for run 2 from parallel worker.
191- [13-Sep-2024 00:51:03 ] Completed 4 of 8 simulation runs
192- [13-Sep-2024 00:51:03 ] Received simulation output (size: 8.90 MB) for run 3 from parallel worker.
193- [13-Sep-2024 00:51:03 ] Completed 5 of 8 simulation runs
194- [13-Sep-2024 00:51:04 ] Received simulation output (size: 8.57 MB) for run 5 from parallel worker.
195- [13-Sep-2024 00:51:04 ] Completed 6 of 8 simulation runs
196- [13-Sep-2024 00:51:04 ] Received simulation output (size: 9.28 MB) for run 1 from parallel worker.
197- [13-Sep-2024 00:51:14 ] Completed 7 of 8 simulation runs
198- [13-Sep-2024 00:51:14 ] Received simulation output (size: 7.36 MB) for run 7 from parallel worker.
199- [13-Sep-2024 00:51:16 ] Completed 8 of 8 simulation runs
200- [13-Sep-2024 00:51:16 ] Received simulation output (size: 7.58 MB) for run 8 from parallel worker.
201- [13-Sep-2024 00:51:16 ] Cleaning up parallel workers...
202- Elapsed Sweep Time Total: 99 .00
203- Elapsed Sweep Time/(Num Tests): 12.38
178+ [29-Nov-2025 06:29:14 ] Starting Simulink on parallel workers...
179+ [29-Nov-2025 06:29:21 ] Configuring simulation cache folder on parallel workers...
180+ [29-Nov-2025 06:29:21 ] Transferring base workspace variables used in the model to parallel workers...
181+ [29-Nov-2025 06:29:21 ] Total size of base workspace variables to send to parallel workers is 105.67 MB.
182+ [29-Nov-2025 06:29:22 ] Loading model on parallel workers...
183+ [29-Nov-2025 06:29:45 ] Running simulations...
184+ [29-Nov-2025 06:30:53 ] Completed 1 of 8 simulation runs
185+ [29-Nov-2025 06:30:53 ] Received simulation output (size: 6.96 MB) for run 6 from parallel worker.
186+ [29-Nov-2025 06:30:56 ] Completed 2 of 8 simulation runs
187+ [29-Nov-2025 06:30:56 ] Received simulation output (size: 8.90 MB) for run 3 from parallel worker.
188+ [29-Nov-2025 06:30:56 ] Completed 3 of 8 simulation runs
189+ [29-Nov-2025 06:30:56 ] Received simulation output (size: 8.45 MB) for run 2 from parallel worker.
190+ [29-Nov-2025 06:30:56 ] Completed 4 of 8 simulation runs
191+ [29-Nov-2025 06:30:56 ] Received simulation output (size: 9.28 MB) for run 1 from parallel worker.
192+ [29-Nov-2025 06:30:56 ] Completed 5 of 8 simulation runs
193+ [29-Nov-2025 06:30:56 ] Received simulation output (size: 8.45 MB) for run 4 from parallel worker.
194+ [29-Nov-2025 06:30:57 ] Completed 6 of 8 simulation runs
195+ [29-Nov-2025 06:30:57 ] Received simulation output (size: 8.57 MB) for run 5 from parallel worker.
196+ [29-Nov-2025 06:31:09 ] Completed 7 of 8 simulation runs
197+ [29-Nov-2025 06:31:09 ] Received simulation output (size: 7.36 MB) for run 7 from parallel worker.
198+ [29-Nov-2025 06:31:10 ] Completed 8 of 8 simulation runs
199+ [29-Nov-2025 06:31:10 ] Received simulation output (size: 7.58 MB) for run 8 from parallel worker.
200+ [29-Nov-2025 06:31:10 ] Cleaning up parallel workers...
201+ Elapsed Sweep Time Total: 84 .00
202+ Elapsed Sweep Time/(Num Tests): 10.50
204203Parallel pool using the 'Processes' profile is shutting down.
205204</ pre >
206205< img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_20.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_21.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_22.png " alt =""> < h2 id ="13 "> Simulation Results from Simscape Logging: Path 5, 6</ h2 >
207- < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_23.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_24.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_25.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_26.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_27.png " alt =""> < p class ="footer "> Copyright 2022-2024 The MathWorks, Inc.< br >
208- < a href ="https://www.mathworks.com/products/matlab/ "> Published with MATLAB® R2024b </ a >
206+ < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_23.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_24.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_25.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_26.png " alt =""> < img vspace ="5 " hspace ="5 " src ="quadcopter_package_delivery_27.png " alt =""> < p class ="footer "> Copyright 2022-2025 The MathWorks, Inc.< br >
207+ < a href ="https://www.mathworks.com/products/matlab/ "> Published with MATLAB® R2025a </ a >
209208< br >
210209</ p >
211210</ div >
@@ -220,7 +219,7 @@ <h2 id="3">Quadcopter Subsystem</h2>
220219% is released from the quadcopter when it reaches the final waypoint and
221220% the release criteria are met.
222221%
223- % Copyright 2022-2024 The MathWorks, Inc.
222+ % Copyright 2022-2025 The MathWorks, Inc.
224223
225224
226225
@@ -229,6 +228,7 @@ <h2 id="3">Quadcopter Subsystem</h2>
229228open_system('quadcopter_package_delivery')
230229
231230set_param(find_system(bdroot,'MatchFilter',@Simulink.match.allVariants,'FindAll','on','type','annotation','Tag','ModelFeatures'),'Interpreter','off');
231+ set(0, 'DefaultFigureWindowStyle', 'normal');
232232
233233%%
234234%
@@ -284,12 +284,17 @@ <h2 id="3">Quadcopter Subsystem</h2>
284284% effect on the quadcopter trajectory.
285285
286286quadcopter_package_delivery_sweep_load_mass
287+ close(h1_waypoints_and_spline_xyz)
288+ close(h1_trajectory_speed_yaw)
287289
288290%% Parameter Sweep: Trajectory Speed
291+
289292% Using parallel computing we vary the target speed of the quadcopter and
290293% see if the quadcopter can follow the target path.
291294
292295quadcopter_package_delivery_sweep_load_speed
296+ close(h4_quadcopter_package_delivery_pct_mass)
297+ close(h5_quadcopter_package_delivery_pct_mass)
293298
294299%% Simulation Results from Simscape Logging: Path 5, 6
295300
0 commit comments