diff --git a/README.md b/README.md index 796a8f5..6cd8774 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # MATLAB Live Task for Python +[](https://www.mathworks.com/matlabcentral/fileexchange/111240-matlab-live-task-for-python) + +_If using MATLAB R2024a or later, use the [Run Python Python Live Editor Live Task](https://www.mathworks.com/help/matlab/ref/runpythoncode.html) instead._ + The MATLAB® Live Task for Python® enables you to write and execute Python code directly inside of a MATLAB Live Script. Since R2022a, MATLAB provides a way to develop your own [custom live task](https://www.mathworks.com/help/matlab/creating_guis/live-task-development-overview.html). --- @@ -9,7 +13,7 @@ The MATLAB® Live Task for Python® enables you to write and execute Python code * MATLAB R2022a or later ### Required 3rd Party Products -* Python (supported Python versions by MATLAB release can be found [here](https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/python-compatibility.pdf)) +* Python (supported Python versions by MATLAB release can be found [here](https://www.mathworks.com/support/requirements/python-compatibility.html)) --- @@ -56,7 +60,7 @@ and retrieve the required variables to be used back in MATLAB:  -The equivalent MATLAB code to run either the Python statements (using [`pyrun`](pyrun)) or a Python script (using [`pyrunfile`](https://www.mathworks.com/help/matlab/ref/pyrunfile.html)) is generated and run automatically by default like any live task: +The equivalent MATLAB code to run either the Python statements (using [`pyrun`](https://www.mathworks.com/help/matlab/ref/pyrun.html)) or a Python script (using [`pyrunfile`](https://www.mathworks.com/help/matlab/ref/pyrunfile.html)) is generated and run automatically by default like any live task:  @@ -94,4 +98,4 @@ The license is available in the License file within this repository Copyright © 2022 MathWorks, Inc. All rights reserved. -"Python" and the Python logos are trademarks or registered trademarks of the Python Software Foundation, used by MathWorks with permission from the Foundation. \ No newline at end of file +"Python" is a registered trademark of the Python Software Foundation. \ No newline at end of file diff --git a/img/pythonTask2.png b/img/pythonTask2.png index 51b56c2..02633b6 100644 Binary files a/img/pythonTask2.png and b/img/pythonTask2.png differ diff --git a/img/pythonTaskInstall.png b/img/pythonTaskInstall.png index aae7d94..3fa6655 100644 Binary files a/img/pythonTaskInstall.png and b/img/pythonTaskInstall.png differ diff --git a/src/resources/PythonLiveTaskIcon.png b/src/resources/PythonLiveTaskIcon.png new file mode 100644 index 0000000..8dfc489 Binary files /dev/null and b/src/resources/PythonLiveTaskIcon.png differ diff --git a/src/resources/Python_logo_icon.png b/src/resources/Python_logo_icon.png deleted file mode 100644 index 3acbe59..0000000 Binary files a/src/resources/Python_logo_icon.png and /dev/null differ diff --git a/src/resources/liveTasks.json b/src/resources/liveTasks.json index e79fcdd..d5d5f9a 100644 --- a/src/resources/liveTasks.json +++ b/src/resources/liveTasks.json @@ -1,10 +1,10 @@ { - "RunPythonTask": { - "name": "Run Python Code", - "description": "Run Python statements or script file", - "icon": "Python_logo_icon.png", - "keywords": "python", - "uniqueId": "pyruntask", - "docLink": "fullfile(docroot,'matlab','matlab_external','ways-to-call-python-from-matlab.html')" - } -} \ No newline at end of file + "RunPythonTask":{ + "description":"Run Python statements or script file", + "docLink":"fullfile(docroot,'matlab','matlab_external','ways-to-call-python-from-matlab.html')", + "icon":"PythonLiveTaskIcon.png", + "keywords":"python", + "name":"Run Python Code", + "uniqueId":"pyruntask" + } +}
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: