Skip to content
/ prompts Public

Curated collection of AI prompts for MATLAB development - enhance your workflow with MATLAB Copilot, GitHub Copilot, Claude, Cursor, and other AI coding assistants. Includes prompts for Live Scripts, signal processing, machine learning, control systems, and more.

License

Notifications You must be signed in to change notification settings

matlab/prompts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AI Coding Agent Prompts for MATLAB

A curated collection of prompts for AI coding assistants to enhance MATLAB® development workflows

Prompts designed for use with MATLAB Copilot, GitHub Copilot, Claude Code, Cursor, Windsurf, Cline, Sourcegraph Cody, and other AI coding assistants. These prompts help users write MATLAB code, create Live Scripts, work with MathWorks toolboxes, and streamline workflows.

Categories

Create Live Scripts, generate documentation, and format MATLAB help text for functions and scripts.

Optimize performance, handle errors, validate inputs, and write clean, efficient MATLAB code.

Build neural networks, perform statistical analysis, train machine learning models, and analyze data.

Design filters, analyze spectra, process signals, and work with communications systems.

Enhance images, detect features, segment objects, and process video streams.

🗺️ Mapping

Create world maps, analyze geospatial data, and visualize geographic information with custom projections.

Design controllers, analyze stability, tune parameters, and simulate dynamic systems.

Generate C/C++ code, create standalone applications, and deploy MATLAB algorithms to production.

How to Use These Prompts

  1. Browse the categories above to find a prompt that matches your task
  2. Copy the prompt from the individual prompt file
  3. Customize the placeholders (e.g., [YOUR TOPIC HERE]) with your specific requirements
  4. Paste into your AI coding assistant (MATLAB Copilot, GitHub Copilot, Claude Code, etc.)
  5. Iterate - refine the output by providing additional context or constraints

Tips for Best Results

  • Be specific about MATLAB release requirements (e.g., R2024a+)
  • Mention required toolboxes explicitly
  • Provide example inputs/outputs when possible
  • Ask for comments and documentation
  • Request error handling and input validation

Contributing

We welcome contributions! To add a new prompt:

  1. Choose the appropriate category folder in prompts/
  2. Create a new .md file using the template
  3. Add your prompt to the category's README
  4. Submit a pull request

See CONTRIBUTING.md for detailed guidelines.

License

[CC-BY-40

About

Curated collection of AI prompts for MATLAB development - enhance your workflow with MATLAB Copilot, GitHub Copilot, Claude, Cursor, and other AI coding assistants. Includes prompts for Live Scripts, signal processing, machine learning, control systems, and more.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •