Aller au contenu
Skillpedia
Programmation générale51k · #3496

matlab

Ce qu’il fait

Cet outil vous aide à travailler avec les langages de programmation MATLAB et GNU Octave. Il peut examiner, organiser et planifier le fonctionnement de ces codes, en particulier pour les calculs numériques et la manipulation de données.

Quand l’utiliser

  • ✓Lorsque vous devez vérifier si un code MATLAB ou Octave est correct.
  • ✓Lorsque vous planifiez l'organisation d'un projet de programmation numérique.
  • ✓Si vous devez faire passer un code d'une ancienne version à une nouvelle.

Lien du skill

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/matlab/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/matlab/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Vérifiez ce code MATLAB pour vous assurer qu'il calcule correctement la moyenne d'un jeu de données.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'IA analyse votre code et vérifie s'il respecte les bonnes pratiques et les règles de sécurité. Elle n'exécute pas le code directement, mais l'examine pour repérer d'éventuels problèmes ou améliorations.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

MATLAB and GNU Octave

Use this skill to design or review numerical code, migrate MATLAB releases, prepare reproducible projects, and plan trusted execution. MATLAB and GNU Octave are distinct products: compatibility is partial, not a license or behavior guarantee.

Review scope

Reviewed against current MathWorks R2026b documentation and GNU Octave 11.3.0 sources on 2026-10-01. The bundled Engine planner and MATLAB examples retain an explicit R2026a baseline. R2026b supports CPython 3.10-3.14; do not reuse the R2026a Engine package for it. MATLAB/Octave examples are illustrative and were not executed in this review; the Python helpers have local synthetic tests. This skill uses local runtime APIs, with no remote service endpoint or API key.

Product and license gate

  • MATLAB R2026a is proprietary. Do not assume MATLAB, MATLAB Online, a named toolbox, MATLAB Test, MATLAB Compiler, MATLAB Coder, Parallel Computing Toolbox, or an add-on is installed, licensed, or available to the user.
  • MATLAB Runtime is not MATLAB. It runs compatible applications produced with MATLAB Compiler; it cannot run arbitrary source or host MATLAB Engine for Python. Building artifacts needs the applicable licensed compiler and every product used by the source.
  • GNU Octave 11.3.0 is free software under GPLv3+. Octave packages are not MATLAB toolboxes. Similar names do not imply API, numerical, graphics, or licensing equivalence.
  • Ask which runtime, release, platform, installed products, and license context the user actually has. Treat availability as unknown until confirmed.

See Octave compatibility and execution/product boundaries.

Nonnegotiable safety boundary

Never run an untrusted .m, .mlx, MEX binary, MAT file, project startup or shutdown action, package installer, or generated artifact. Static review does not prove safety.

Treat these as execution or code-loading surfaces:

  • eval, evalin, assignin, text-derived feval, str2func, callbacks, timers, app callbacks, and dynamically modified paths;
  • system, unix, dos, shell escape !, Java, .NET, Python (py.*, pyrun, pyrunfile), MEX, and native libraries;
  • mex, codegen, MATLAB Compiler, build tasks, package/project startup, and generated code;
  • load, object deserialization (loadobj, custom serialization), function handles, Java/System objects, and class code reachable from MAT files.

.mlx is an opaque archive for this toolkit and MEX is native executable code. Do not use Python pickle for exchange. Inspect first, isolate when appropriate, obtain explicit approval, then invoke a user-confirmed executable and license. Bundled scripts are static or dry-run tools: none launches MATLAB, Octave, Python Engine, a compiler, or a subprocess.

Default workflow

  1. Clarify target. Record MATLAB release or Octave version, OS/architecture, base product versus required toolboxes/packages, expected inputs/outputs, numerical tolerances, and whether execution is authorized.
  2. Inventory statically. Scan .m files, opaque artifacts, project paths, required products, and MAT headers before any runtime loads them.
  3. Choose code form. Prefer functions with an arguments block for automation. Use scripts only for controlled orchestration and live scripts for reviewed interactive narratives.
  4. Make semantics explicit. Record shapes, classes, units, missing-value rules, indexing, implicit expansion, RNG algorithm/seed, tolerances, and output formats.
  5. Test without hidden state. Keep fixtures synthetic, paths project-local, graphics deterministic, and tests independent of base-workspace residue.
  6. Plan execution. Generate an argv plan, review startup/path effects and licenses, and launch only after explicit approval outside these helpers.
  7. Capture provenance. Hash named inputs/code and record release, products, RNG policy, tolerances, and command plan without dumping the environment.

Language and data checklist

Scripts, functions, and live scripts

  • Scripts share the caller/base workspace and leave variables behind. Functions have local workspaces and explicit inputs/outputs.
  • Live scripts (.mlx) mix code and rich output but are not plain-text review artifacts. Export reviewed code to .m for static inspection.

…

Questions fréquentes

Quelle est la différence entre MATLAB et GNU Octave ?

MATLAB est un logiciel payant et propriétaire, tandis que GNU Octave est une alternative gratuite et open source. Bien qu'ils soient similaires, ils ne sont pas identiques et peuvent présenter des différences de compatibilité.

L'IA peut-elle exécuter mon code ?

Non, cet outil est conçu pour l'analyse et la planification, pas pour exécuter du code. Il inspecte le code en toute sécurité sans le lancer.

Qu'est-ce qu'un « workflow numérique » ?

Ce sont des séquences d'étapes ou d'instructions utilisées en programmation pour effectuer des calculs mathématiques et des analyses de données, en particulier avec des nombres.

Détails

Description originale de l’auteur

Builds, reviews, migrates, and plans MATLAB or GNU Octave numerical workflows. Use for arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

repo: K-Dense-AI/scientific-agent-skills

Popularité

Étoiles GitHub
51k
Position au classement
#3496
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires