Skip to content

Commit 9990110

Browse files
committed
Maintenance for R2025b
* Update to new startup app * Improve ci.yml * Standardize project details * Remove reference to emailing for solutions in README as the solutions are included in Instructor Resources * Update identity as the MathWorks Educator Content Development team * Removed note in readme for viewing readme in versions prior to 2023b * Updated ci.yml for GitHub testing on 2025b * Updated readme.md script links to open in ML Online
1 parent ab07109 commit 9990110

29 files changed

+181
-196
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
MATLABVersion: [R2024a,R2024b]
22+
MATLABVersion: [R2024b,R2025a,R2025b]
2323
runs-on: ubuntu-latest
24+
env:
25+
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/libstdc++.so.6
2426
steps:
2527
# Checks-out your repository
2628
- uses: actions/checkout@v4
@@ -39,14 +41,6 @@ jobs:
3941
with:
4042
release: ${{ matrix.MATLABVersion }}
4143
products: MATLAB Simulink Simscape Simscape_Battery Simscape_Electrical
42-
# List required products above in the format shown (and uncomment them)
43-
# List of product strings:
44-
# Simulink
45-
# Statistics_and_Machine_Learning_Toolbox
46-
# Simulink_Coder
47-
# Econometrics_Toolbox
48-
# Deep_Learning_Toolbox
49-
5044

5145
# Run all the tests
5246
- name: Run SmokeTests

Images/TestedWith.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"schemaVersion":1,"label":"Tested with","color":"success","message":"R2024a | R2024b"}
1+
{"schemaVersion":1,"label":"Test Status","color":"success","message":"R2025a"}
12 Bytes
Binary file not shown.

MainMenu.mlx

-89 Bytes
Binary file not shown.
508 Bytes
Binary file not shown.

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The instructions inside the live scripts will guide you through the exercises an
2828

2929
## Contact Us
3030

31-
Solutions are available upon instructor request. Contact the [MathWorks teaching resources team](mailto:[email protected]) if you would like to request solutions, provide feedback, or if you have a question.
31+
Contact the [MathWorks Educator Content Development Team](mailto:[email protected]) if you would like to provide feedback, or if you have a question.
3232

3333
<a name="H_30BC7141"></a>
3434

@@ -61,25 +61,23 @@ Ensure you have all the required products ([listed below](#H_E850B4FF)) installe
6161

6262
# Scripts
6363

64-
*If you are viewing this in a version of MATLAB prior to R2023b, you can view the learning outcomes for each script* [*here*](https://www.mathworks.com/matlabcentral/fileexchange/173035-power-electronics)
65-
6664
<a name="H_71C19DD4"></a>
6765

68-
## [**Rectifiers.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Power-Electronics&project=PowerElectronics.prj&file=Rectifiers.mlx)
66+
## [**Rectifiers.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Power-Electronics&project=PowerElectronics.prj&file=Scripts/Rectifiers.mlx)
6967
| | **In this script, students will...** <br> | **Academic disciplines** <br> |
7068
| :-- | :-- | :-- |
7169
| <img src="Images/SmartphoneCharging.png" width="200" alt="SmartphoneCharging.png"> <br> | • Learn about the types of rectifiers (AC\-DC) <br> • Review the theory of rectifier functionality <br> • Simulate behavior of different rectifier models <br> • Apply rectifier theory to charging a mobile phone <br> | • Electrical Engineering <br> |
7270

7371
<a name="H_F12D54E8"></a>
7472

75-
## [**Converters.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Power-Electronics&project=PowerElectronics.prj&file=Converters.mlx)
73+
## [**Converters.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Power-Electronics&project=PowerElectronics.prj&file=Scripts/Converters.mlx)
7674
| | **In this script, students will...** <br> | **Academic disciplines** <br> |
7775
| :-- | :-- | :-- |
7876
| <img src="Images/EV.jpg" width="300" alt="EV.jpg"> <br> | • Learn about the types of DC\-DC converters <br> • Review the theory of DC\-DC converter functionality <br> • Simulate behavior of different converter models <br> • Apply converter theory to distributing power in an electric vehicle <br> | • Electrical Engineering <br> |
7977

8078
<a name="H_E2F6B1CD"></a>
8179

82-
## [**Inverters.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Power-Electronics&project=PowerElectronics.prj&file=Inverters.mlx)
80+
## [**Inverters.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Power-Electronics&project=PowerElectronics.prj&file=Scripts/Inverters.mlx)
8381
| | **In this script, students will...** <br> | **Academic disciplines** <br> |
8482
| :-- | :-- | :-- |
8583
| <img src="Images/SolarStation.jpg" width="300" alt="SolarStation.jpg"> <br> | • Learn about the types of inverters (DC\-AC) <br> • Review the theory of inverter functionality <br> • Simulate behavior of different inverter models <br> • Apply inverter theory to converting electricity from solar panels <br> | • Electrical Engineering <br> |
@@ -112,13 +110,13 @@ Feel free to explore our other [modular courseware content](https://www.mathwork
112110

113111
# Contribute
114112

115-
Looking for more? Find an issue? Have a suggestion? Please contact the [MathWorks teaching resources team](mailto:%[email protected]). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](https://github.com/MathWorks-Teaching-Resources/Power-Electronics/blob/release/CONTRIBUTING.md) page on GitHub.
113+
Looking for more? Find an issue? Have a suggestion? Please contact the [MathWorks Educator Content Development Team](mailto:%[email protected]). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](https://github.com/MathWorks-Teaching-Resources/Power-Electronics/blob/release/CONTRIBUTING.md) page on GitHub.
116114

117115
# Credits
118116

119117
A special thanks to Mohsen Aleenejad and Graham Dudgeon (both of The MathWorks, Inc.) for contributing Simlunk models and examples used to build these interactive educational power electronics modules.
120118

121-
*©* Copyright 2024 The MathWorks, Inc
119+
*©* Copyright 2025 The MathWorks, Inc
122120

123121

124122

README.mlx

-96 Bytes
Binary file not shown.

Scripts/Rectifiers.mlx

87 Bytes
Binary file not shown.

SoftwareTests/FunctionTests.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
classdef FunctionTests < matlab.unittest.TestCase
22

3+
% https://www.mathworks.com/help/matlab/matlab_prog/use-parameters-in-class-based-tests.html
4+
35
methods(Test)
46

57
end % methods

SoftwareTests/PostSmokeTest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function PostSmokeTest(ShowReport)
3232
% Format the results in a table and save them
3333
Results = table(Results');
3434
Version = extractBetween(string(Results.Name),"Version=",")");
35-
Passed = Results.Passed;
35+
Passed = logical(Results.Passed);
3636

3737
% Add link to other report
3838
File = fileread(fullfile("public","index.html"));
@@ -51,7 +51,7 @@ function PostSmokeTest(ShowReport)
5151
Badge.message = join("R"+Version," | ");
5252
elseif any(Passed)
5353
Badge.color = "yellowgreen";
54-
Badge.message = join("R")
54+
Badge.message = join("R"+Version(Passed)," | ");
5555
elseif all(~Passed)
5656
Badge.color = "critical";
5757
Badge.message = join("R"+Version," | ");

0 commit comments

Comments
 (0)