Generate MATLAB for non-English speakers with ChatGPT

Illustrates French and Turkish scripts generated with OpenAI's ChatGPT
18 Downloads
Updated 1 Apr 2023

View License

Two scripts included here illustrate how ChatCPT can generate MATLAB code for non-English speakers, in Turkish and French, and with a little flair - poetry! In the Turkish example, note that the variables are Turkish as well as the explanations visible in the interactive ChatGPT environment (not copied to the codes, I could have done so). My Turkish artist friend rates the Turkish poetry C+ and deems the code variable names as "dull." We face a new challenge here. ;) Included images show the exact prompts and responses in the ChatGPT interactive environment.
These scripts suggest new means to respect ADA requirements and accomodate non-English speakers in an inclusive work or educational environment. And how to lighten up a bit. In the future, all my code comments will be in the form of limericks maybe.

Cite As

Duncan Carlsmith (2024). Generate MATLAB for non-English speakers with ChatGPT (https://www.mathworks.com/matlabcentral/fileexchange/126909-generate-matlab-for-non-english-speakers-with-chatgpt), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GenerateMATLABforNonEnglishSpeakersWithChatGPT

Version Published Release Notes
1.0.1

add link

1.0.0