GitHub / MathWorks-Teaching-Resources / Programming-A-Starter-Project-Using-MATLAB-and-Python
A scaffolded project involving pulling and installing a Live Task and using MATLAB and Python in combination to access and analyze data from the OpenWeather web API.
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathWorks-Teaching-Resources%2FProgramming-A-Starter-Project-Using-MATLAB-and-Python
PURL: pkg:github/MathWorks-Teaching-Resources/Programming-A-Starter-Project-Using-MATLAB-and-Python
Stars: 27
Forks: 5
Open issues: 0
License: bsd-3-clause
Language: MATLAB
Size: 8.22 MB
Dependencies parsed at: Pending
Created at: about 3 years ago
Updated at: 10 days ago
Pushed at: 10 days ago
Last synced at: 10 days ago
Topics: api, app, courseware, create-app, cwm, matlab, matlab-live-script, multiple-languages, programming, python
v2.1.0
v2.1.0
Maintenance for R2024b and OpenWeather changes
- Update GitHub CI
- Update the .gitignore
- Make the images have more descriptive titles, and update the README
accordingly - Remove scripts and references to the OneCall 3.0 API since OpenWeather
has discontinued that entirely - Add InstructorResources with posted solutions
Download
v2.0.0
v2.0.0
The 2.0.0 version of this repository contains the following major changes:
- Support for the Run Python Live Task from File Exchange for R2023b and earlier as well as separate scripts supporting the Run Python Live Task in MATLAB for R2024a.
- Rewritten weather application to handle the changes to the OpenWeather API. Now, instead of creating a simple forecasting script in the Live Editor there are instructions for creating a MATLAB App using App Designer that will display a variety of information about the current weather in any location(s) chosen by the designer. The repository includes a sample solution following the instructions in the courseware module and a sample extension including more information, error handling, and dark/light theming.
- All equations and images have alt-text, as relevant.
Download
v1.0.3
v1.0.3
Improve the instructions for installing and using the Live Task in MATLAB Online. Also, reorganize the instructions to make it clearer when there is more than one way to accomplish the same goal being presented by using Pro Tips to highlight the command-line versions.
Download
v1.0.2
v1.0.2
Improve support for MATLAB Online
- Add “Open in MATLAB Online” links to the README.
- Add local functions that will properly set the python environment variables in MATLAB Online.
Note the requirement to use Python 3.8+ for the project
- Add modifications to improve the experience of users with Python 2.7 on MATLAB Desktop.
- Clarify that the OpenWeather API access script is written in Python3.8, so it will not work with Python 2.7.
Download