matlab-live-script

Generate MATLAB plain-text Live Scripts with rich text and appendix rules.

Updated Feb 7, 2025
One-click install
npx skills add https://github.com/MahZadYar/urchin --skill matlab-live-script-mahzadyar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matlab-live-script
Source: https://github.com/MahZadYar/urchin/tree/main/.github/skills/matlab-live-script
Command: npx skills add https://github.com/MahZadYar/urchin --skill matlab-live-script-mahzadyar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps users create MATLAB plain-text Live Scripts (.m files) that embed executable code with rich text documentation, following a strict formatting system and a mandatory appendix.

Core Features & Use Cases

  • Enforces the .m extension for plain-text Live Scripts and disallows .mlx binaries.
  • Provides a comprehensive formatting framework for sections, rich text, bullets, tables, LaTeX, and equations to ensure consistent, readable tutorials and examples.
  • Use cases include educational tutorials, example-driven documentation, and shareable MATLAB scripts that blend narrative and code.

Quick Start

Create a MATLAB plain-text Live Script (.m) following the formatting rules and ending with the required appendix.

Frequently Asked Questions about matlab-live-script

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a MATLAB plain text Live Script with rich text formatting?

Generate a .m file that embeds executable code with rich text documentation, applying strict formatting conventions for sections, text, lists, equations, and tables alongside a mandatory appendix.

What is the difference between .m and .mlx files for MATLAB Live Scripts?

Plain text MATLAB Live Scripts enforce the .m extension to store executable code and rich text formatting, explicitly disallowing the binary .mlx format.

How do I format equations and tables in a MATLAB Live Script?

Format equations and tables by applying the provided rich text formatting framework, ensuring consistent integration of LaTeX, tables, and narrative alongside executable code within the .m file.

Why does my MATLAB Live Script require an appendix?

The formatting system enforces a mandatory appendix to conclude the .m file, ensuring educational tutorials and code examples maintain a standardized structure for narrative and executable code.

Can I use this MATLAB Live Script formatting for educational tutorials?

Yes, this formatting framework suits educational tutorials and example-driven documentation by blending narrative text, equations, and executable code into a single shareable .m file.

What are the limitations of using plain text .m files for MATLAB Live Scripts?

Limitations include strict adherence to specific formatting conventions, required appendix rules, and the explicit rejection of binary .mlx files, which may constrain free-form documentation styles.