Generate MATLAB for non-English speakers with ChatGPT
Versión 1.0.1 (874 KB) por
Duncan Carlsmith
Illustrates French and Turkish scripts generated with OpenAI's ChatGPT
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.
View and like related scripts at https://www.mathworks.com/matlabcentral/fileexchange/?q=carlsmith&sort=date_desc_submitted
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2023a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspiración para: MATLAB Code Generation - ChatGPT versus Bard
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.