Generated banner for Matlab Modernize Code
Generated logo for Matlab Modernize Code

Matlab Modernize Code

MathWorksOfficialCreated by MathWorks

  • Skill
  • Tool integration
  • Software development
  • BSD-2-Clause
  • No issues found

From the author

Modernize removed or discouraged MATLAB functions and patterns. Use when the check_matlab_code MCP tool reports that a function "is not recommended", "will be removed in a future release", or "has been removed" — at any severity (info, warning, or error) — when migrating legacy code, or when replacing removed or discouraged APIs with current equivalents. Also applies to discouraged patterns Code Analyzer does not flag (containers.Map, bsxfun, str2num, eval, clear all) and to removed or discouraged functions such as trainNetwork, csvread, xlsread, datenum, guide, svmtrain, ltln2val, webmap.
— the description by MathWorks

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a systematic approach to modernizing MATLAB codebases. It acts as a resolver for issues identified by the check_matlab_code MCP tool, which flags functions that are removed, discouraged, or slated for future removal. By replacing outdated APIs and anti-patterns with current, performant, and secure alternatives, this skill helps maintain code longevity and compatibility with modern MATLAB releases.

What it does

  • Identifies and replaces removed or discouraged MATLAB functions.
  • Refactors anti-patterns like eval, clear all, and str2num.
  • Provides migration paths for file I/O, UI components, and signal processing.
  • Integrates with static analysis results from check_matlab_code.
  • Offers domain-specific guidance for deep learning, audio/video, and communications.
  • Promotes modern design patterns like table-based workflows and arguments blocks.

When to use it

  • When check_matlab_code reports lifecycle diagnostics (info, warning, or error).
  • When migrating legacy scripts to newer MATLAB versions.
  • When replacing discouraged patterns like containers.Map or bsxfun.
  • When updating code to use modern APIs like readmatrix or datetime.
  • When starting new projects to ensure best-practice implementation from the start.

Advantages

  • Ensures code compatibility with current and future MATLAB releases.
  • Improves code performance and readability by using optimized modern APIs.
  • Enhances security by eliminating dangerous patterns like unrestricted eval.
  • Reduces technical debt by systematically removing deprecated dependencies.
  • Provides clear, tested migration paths for common domain-specific tasks.

Usage examples

“Modernize this legacy file I/O code: [M, t] = xlsread('data.xlsx');”
The agent replaces the call with the modern readtable function: T = readtable('data.xlsx');
“How do I replace this discouraged eval pattern: eval(['A' int2str(n) '=magic(n);']);”
The agent suggests using a cell array for dynamic indexing: A = cell(10,1); for n = 1:10, A{n} = magic(n); end
“Update my audio code that uses the removed wavread function.”
The agent provides the modern replacement using audioread, including handling for sample ranges and native formats.
“Replace my old BPSK modulator object with the modern function call.”
The agent replaces the comm.BPSKModulator object instantiation with the direct pskmod(data, 2) function call.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/matlab/matlab-modernize-code/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip matlab-modernize-code.zip -d .agents/skills

Documentation by MathWorks

Code Modernization

Replace removed or discouraged MATLAB functions and anti-patterns with modern equivalents. This skill is the resolver — the MCP tool check_matlab_code (MATLAB's Code Analyzer) is the detector.

Terms used in this skill:

  • Removed — the function is no longer in MATLAB; calling it errors.

  • Discouraged — the function still works, but a better API exists. It may or may not be slated for removal in a future release.

When to Use

  • check_matlab_code reports a lifecycle diagnostic — any of these three wordings, matched case-insensitively (STRMATCH is not recommended is the same signal as the lowercase form):

    • 'X' is not recommended... (severity: info)

    • 'X' will be removed in a future release... (severity: warning)

    • 'X' has been removed... (severity: error — the code errors today)

  • Code uses a discouraged pattern Code Analyzer does not flag — e.g. containers.Map, bsxfun, str2num, eval, clear all — scan the source, not just the diagnostics (see Conventions)

  • User asks to modernize, migrate, or update old MATLAB code

  • Code uses functions listed in the quick reference table below

  • After static analysis reveals removed or discouraged API usage

  • Writing new code in a domain that has known removed or discouraged patterns

When NOT to Use

This skill swaps removed or discouraged APIs for modern equivalents. It does not:

  • Review code quality broadly

  • Debug runtime behavior (removed-function errors excepted — those are modernization fixes)

  • Optimize already-correct code for speed → hand off to matlab-optimize-performance

  • Write or migrate function input/output validation (arguments blocks, inputParser/validateattributes → mustBe* validators, repeating args, name-value forwarding) → hand off to matlab-validate-function-arguments

Quick Reference: Removed, Discouraged & Anti-Patterns

TopicRecommendationSinceCategoryRationale
csvread / dlmreadreadmatrixR2019aFile I/O
csvwrite / dlmwritewritematrixR2019aFile I/O
xlsreadreadtable, readmatrixR2019aFile I/O
xlswritewritetable, writematrixR2019aFile I/O
datenum / datestr / nowdatetime (use string/char to format)R2022bDate/Time (Not recommended)Flagged by Code Analyzer
eval / evalc / evalinDynamic field names s.(name), function handles / feval, cells for sequential names—Anti-patternNot compiled (slow); can overwrite workspace vars; hard to debug; injection risk
str2numstr2num(text, Evaluation="restricted")R2022aSecurityUnrestricted form runs input via eval (injection risk); see references
uicontroluibutton, uidropdown, etc.R2016aUI/App
guideappdesignerR2025aUI (Removed)
strmatchstartsWith, matchesR2019bStrings
clear allclearvars—WorkspaceClears functions from memory; forces recompilation

datestr nuance: datestr's job was to format a date as text, so its modern replacement is string(dt) / char(dt) or setting dt.Format — not a bare datetime(...) call. Use datetime to replace datenum/now (the numeric/serial-date path). Neither is removed; both are Code Analyzer "not recommended" as of R2022b.

s = datestr(t, 'yyyy-mm-dd HH:MM:SS');          % old
s = string(t, 'yyyy-MM-dd HH:mm:ss');           % new — note the specifiers change:
                                                % datetime uses MM=month, mm=minute (datestr had mm=month, MM=minute)

Modern Design Patterns

Prefer these in all new code:

Table-Based Workflows
data = readtable('sensors.csv');
data.Timestamp = datetime(data.Timestamp);
data.Status = categorical(data.Status);
recentData = data(data.Timestamp > datetime('today') - days(7), :);
summary = groupsummary(recentData, 'SensorID', 'mean', 'Value');
String Arrays (not char arrays)
name = "John";                        % not 'John'
names = ["John", "Jane", "Bob"];      % not {'John','Jane','Bob'}
fullName = firstName + " " + lastName; % not [first,' ',last]
idx = contains(names, "Jo");          % not cellfun + strfind
Arguments Block (not nargin/varargin)
function result = processData(data, options)
    arguments
        data (:,:) double
        options.Method (1,1) string {mustBeMember(options.Method, ["fast","accurate"])} = "fast"
        options.Verbose (1,1) logical = false
    end
end

Key Migrations

File I/O: csvread/xlsread → readmatrix/readtable
% Old                          → Modern
M = csvread('data.csv');       % M = readmatrix("data.csv");
M = dlmread('data.txt','\t'); % M = readmatrix("data.txt", Delimiter="\t");
[n,t,r] = xlsread('f.xlsx');  % T = readtable("f.xlsx");
csvwrite('out.csv', M);       % writematrix(M, "out.csv");
xlswrite('out.xlsx', data);   % writetable(T, "out.xlsx");
eval → Structured Alternatives

Avoid eval/evalc/evalin: the text isn't compiled (slower), can silently overwrite workspace variables, and is hard to read/debug. Match the intent to a construct — see references/core-functions-guidance.md for the full set (sequential names, sprintf filenames, try/catch).

% Old: eval([varName ' = 42;']);          -> dynamic field name
s.(varName) = 42;

% Old: result = eval(['process_' method '(x)']);  -> handle dispatch table
handlers.fast = @processFast;
handlers.slow = @processSlow;
result = handlers.(method)(x);

% Old: for n=1:10, eval(['A' int2str(n) '=magic(n);']); end  -> index a cell
A = cell(10,1);
for n = 1:10, A{n} = magic(n); end

References

Load these when working in a specific domain:

Load when...Reference
Core MATLAB functions (file I/O, strings, UI); security anti-patterns (eval/str2num), containers.Map→dictionary, bsxfun→implicit expansionreferences/core-functions-guidance.md
Deep Learning (trainNetwork→trainnet, LayerGraph/SeriesNetwork/DAGNetwork→dlnetwork, classify, activations)references/deep-learning-guidance.md
Signal processing functionsreferences/signal-processing-guidance.md
Audio/video I/O migration (wavread, aviread)references/audio-video-guidance.md
Optimization toolbox (optimset, optimtool)references/optimization-guidance.md
Control systems plot optionsreferences/control-systems-guidance.md
Image processing ROI objectsreferences/image-processing-guidance.md
Statistics/ML (svmtrain, dataset, classregtree)references/statistics-ml-guidance.md
Communications System objectsreferences/communications-guidance.md
Mapping Toolbox (webmap, wmmarker, wmline, geotiffread, mfwdtran, makerefmat)references/mapping-guidance.md

Conventions

  • Always run check_matlab_code first — let static analysis find removed or discouraged usage

  • After running it, scan the source for patterns the Code Analyzer may under-flag: str2num (framed only as a perf tip); containers.Map (see next point).

  • containers.Map is not flagged by check_matlab_code. A plain script using it returns zero diagnostics; a containers.Map property default surfaces only a handle-default-sharing warning ("all instances share the same object data"). The detect-first workflow will not find this migration — treat any containers.Map usage, and that handle-sharing warning on a property, as a containers.Map→dictionary trigger.

  • subplot is not deprecated or discouraged. It is fully supported and is never flagged by check_matlab_code. tiledlayout/nexttile is a preferred alternative for new code, not a required migration — do not tell the user to replace working subplot code.

  • Fix removed or discouraged patterns before other code quality issues

  • When writing new code, use the modern pattern from the start — don't write legacy code and fix it later

  • A 'X' has been removed diagnostic (severity error) means the function errors today — treat it as a break-fix modernization, ahead of "not recommended" (info) and "will be removed" (warning) cases

  • When migrating, test the modern replacement against the old behavior to confirm equivalence

  • Legacy .m files are often Windows-1252 encoded. After an edit, verify non-ASCII characters (°, µ, ±) survived — a diff showing an unrelated one-line change on a comment or string is usually a re-encoded byte, not your edit.

  • Consult the domain-specific reference file for detailed migration patterns with code examples


Copyright 2026 The MathWorks, Inc.


Files

references/mapping-guidance.md

Mapping Toolbox Modernization

Quick Reference: Function Mappings

For removed functions, Since is the removal release; for others it is the discouraged-since release.

TopicRecommendationSinceStatus
webmapgeoaxes + geobasemapR2025aNot Recommended, will be removed
wmmarkergeoiconchartR2025aNot Recommended, will be removed
wmlinegeoplotR2025aNot Recommended, will be removed
wmpolygongeopolyshape + geoplotR2025aNot Recommended, will be removed
wmremovedeleteR2025aNot Recommended, will be removed
wmcenterMapCenter propertyR2025aNot Recommended, will be removed
wmzoomZoomLevel propertyR2025aNot Recommended, will be removed
wmlimitsgeolimitsR2025aNot Recommended, will be removed
wmclosecloseR2025aNot Recommended, will be removed
wmprintexportgraphicsR2025aNot Recommended, will be removed
geotiffreadreadgeorasterR2020aNot Recommended
arcgridreadreadgeorasterR2020aNot Recommended
degtoraddeg2radR2018aNot Recommended
radtodegrad2degR2018aNot Recommended
roundnroundR2018aNot Recommended
almanacearthRadius / referenceEllipsoid / referenceSphere / wgs84EllipsoidR2012aNot Recommended
angledimfromRadians / fromDegrees / toRadians / toDegreesR2007bNot Recommended
distdimconversion functions (e.g. deg2km, nm2rad) / unitsratioR2007bNot Recommended
dtedreadgeorasterR2020aNot Recommended, will be removed
mfwdtranprojfwd + projcrsR2026aRemoved
minvtranprojinv + projcrsR2026aRemoved
sdtsinfogeorasterinfoR2026aRemoved
etoporeadgeorasterR2024bRemoved
globedemreadgeorasterR2024bRemoved
satbathreadgeorasterR2024bRemoved
tbasereadgeorasterR2024bRemoved
gtopo30readgeorasterR2024bRemoved
map2pixworldToIntrinsicR2024bRemoved
pix2mapintrinsicToWorldR2024bRemoved
latlon2pixgeographicToIntrinsicR2024bRemoved
pix2latlonintrinsicToGeographicR2024bRemoved
makerefmatgeorefcells / georefpostings / maprefcells / maprefpostingsR2023bRemoved
limitmR.LatitudeLimits / R.LongitudeLimitsR2023bRemoved
mapbboxR.XWorldLimits / R.YWorldLimitsR2023bRemoved
sizemR.RasterSizeR2023bRemoved
refmat2vecrefmatToGeoRasterReferenceR2023bRemoved
refvec2matrefvecToGeoRasterReferenceR2023bRemoved
worldFileMatrixToRefmatgeorasterref / maprasterrefR2023bRemoved
nanm / onem / zerom / spzeromgeorefcells + NaN / ones / zeros / sparseR2023bRemoved
ltln2valgeointerpR2023bRemoved
resizemgeoresize / imresizeR2023bRemoved
maptrimsgeocropR2023bRemoved
extractmgeospatial tablesR2023aRemoved
meshgratgeographicGrid / linspace / ndgridR2024aRemoved
pixcentersgeographicGrid / worldGridR2024aRemoved
setltlnintrinsicToGeographicR2024aRemoved
setpostngeographicToDiscreteR2024aRemoved
ecef2lvecef2enu (angleUnit='radians')R2023aRemoved
lv2ecefenu2ecef (angleUnit='radians')R2023aRemoved
geocentric2geodeticLatgeodeticLatitudeFromGeocentricR2023aRemoved
geodetic2geocentricLatgeocentricLatitudeR2023aRemoved
npi2piwrapToPi / wrapTo180R2023aRemoved
zero22piwrapTo2Pi / wrapTo360R2023aRemoved
combntnsnchoosekR2022bRemoved
surfdistdistanceR2024bRemoved
projectprojfwdR2023aRemoved
symbolmscattermR2022aRemoved
maptrimgeocrop / geoclipR2024bRemoved
epsm1.0e-6 (literal value)R2023aRemoved
elevationgeodetic2aerR2023aRemoved
usgsdem / usgs24kdemreadgeorasterR2023bRemoved
sdtsdemreadreadgeorasterR2023bRemoved
readfieldsreadmatrix / readtableR2023aRemoved
readmtxreadmatrix / readtableR2023aRemoved
spcreadreadmatrixR2023aRemoved

Web Map Removal — webmap to Geographic Axes

Status: To be removed. check_matlab_code raises a warning. Code will break in a future release.

The entire webmap family migrates to geographic axes. All 10 functions map to a single modern workflow.

Predefined Basemap Names
Old Web Map LayerNew Basemap Name
"World Street Map""streets"
"World Imagery""satellite"
"Light Gray Canvas Map""streets-light"

Other web map layers ("Open Street Map", "World Topographic Map", "National Geographic Map", etc.) have no predefined equivalent — use addCustomBasemap below.

Custom Basemap Setup

If your web map used a tile source not available as a predefined basemap, register it with addCustomBasemap before creating the geographic axes:

basemapName = "openstreetmap";
url = "https://a.tile.openstreetmap.org/${z}/${x}/${y}.png";
attribution = char(uint8(169)) + " OpenStreetMap contributors";
addCustomBasemap(basemapName, url, Attribution=attribution)

figure
geobasemap(basemapName)
Complete Migration Example

Old Pattern (Avoid):

webmap("OpenStreetMap")
wmmarker(42.3557, -71.0662)
wmline([42.3536 42.3548 42.3561], [-71.0656 -71.0665 -71.0632])
polyLat = [42.3554 42.3560 42.3527 42.3520 42.3554];
polyLon = [-71.0722 -71.0695 -71.0678 -71.0707 -71.0722];
wmpolygon(polyLat, polyLon, FaceAlpha=0.35)
wmlimits([42.3518 42.3577], [-71.0735 -71.0609])

Modern Pattern (Use This):

figure
geobasemap("openstreetmap")
hold on

geoiconchart(42.3557, -71.0662, SizeData=32)

geoplot([42.3536 42.3548 42.3561], [-71.0656 -71.0665 -71.0632], ...
    LineWidth=2, Color="k")

polyLat = [42.3554 42.3560 42.3527 42.3520 42.3554];
polyLon = [-71.0722 -71.0695 -71.0678 -71.0707 -71.0722];
shape = geopolyshape(polyLat, polyLon);
geoplot(shape, FaceAlpha=0.35, FaceColor="k")

geolimits([42.3518 42.3577], [-71.0735 -71.0609])

Name-Value Argument Changes:

Old (wmmarker/wmline/wmpolygon)New (geoiconchart/geoplot)
AutoFit=falseAffectAutoLimits=false
Icon=filenamepositional arg: geoiconchart(lat,lon,filename)
IconScale=scaleSizeData=scale*32
Color=colorValue (wmmarker)IconColorData=colorValue
Alpha=alphaValue (wmmarker)IconAlphaData=alphaValue

Migration Notes:

  • Call hold on before adding multiple objects — unlike webmap, geographic axes do not hold automatically.

  • Polygons require a two-step pattern: create a geopolyshape, then pass it to geoplot.

  • Geographic axes do not include built-in interactive controls (basemap picker, zoom slider, coordinate display). Add these manually if needed.

Why Modern is Better:

  • Full MATLAB graphics customization

  • App Designer integration

  • Additional plot types (density plots, bubble charts, scatter, raster display with geoimage and geopcolor)


geotiffread Output Syntax Changes

The output argument order differs between geotiffread and readgeoraster:

Old SyntaxNew Syntax
[A,R] = geotiffread(f)[A,R] = readgeoraster(f)
[X,cmap,R] = geotiffread(f)[X,R,cmap] = readgeoraster(f) — order changes
[A,refmat,bbox] = geotiffread(f)[A,R] = readgeoraster(f) then use R.XWorldLimits, R.YWorldLimits

roundn → round — Sign Convention

round takes the negative of roundn's exponent: roundn(X, n) becomes round(X, -n). For example, roundn(X, -2) (round to 2 decimal places) becomes round(X, 2).


DEM Reader Migration — dted, etopo, globedem, gtopo30, satbath

These functions all had multi-argument forms with sample factors and geographic limits. The modern pattern is always: read → crop → resize.

Old Pattern (Avoid):

[Z, refvec] = dted(filename, samplefactor, latlim, lonlim);

Modern Pattern (Use This):

[Z, R] = readgeoraster(filename, OutputType="double");
[Z, R] = geocrop(Z, R, latlim, lonlim);
[Z, R] = georesize(Z, R, 1/samplefactor);

The order matters: crop first (reduces data size), then resize.

With metadata (replaces UHL/DSI/ACC outputs from dted):

[Z, R] = readgeoraster(filename);
info = georasterinfo(filename);
meta = info.Metadata;

This same read → crop → resize pattern applies to etopo, globedem, gtopo30, satbath, usgsdem, and usgs24kdem.


geointerp — Interpolation Method Changes

When replacing ltln2val with geointerp, note these differences:

ltln2val (old)geointerp (new)
Default method'nearest''linear'
Bilinear'bilinear''linear'
Bicubic'bicubic''cubic'
Nearest'nearest' (default)'nearest' (must specify explicitly)

meshgrat — Multiple Replacement Patterns

The replacement for meshgrat depends on which syntax was used:

With raster reference object (most common)
% Old:
[lat, lon] = meshgrat(Z, R);

% New:
[lat, lon] = geographicGrid(R);
With custom gratsize
% Old:
[lat, lon] = meshgrat(Z, R, gratsize);

% New:
Rg = R;
Rg.RasterSize = gratsize;
[lat, lon] = geographicGrid(Rg);
With lat/lon vectors — use ndgrid (NOT meshgrid)
% Old:
[lat, lon] = meshgrat(latVec, lonVec);

% New:
[lat, lon] = ndgrid(latVec, lonVec);
With limits and gratsize — use linspace + ndgrid
% Old:
[lat, lon] = meshgrat(latlim, lonlim, gratsize);

% New:
latv = linspace(latlim(1), latlim(2), gratsize(1));
lonv = linspace(lonlim(1), lonlim(2), gratsize(2));
[lat, lon] = ndgrid(latv, lonv);

Important: Do NOT use meshgrid — it transposes the output layout relative to what meshgrat produced. Always use ndgrid.


pixcenters — Projected vs Geographic

The replacement depends on the coordinate system:

Projected (map) coordinates → worldGrid
% Old:
[X, Y] = pixcenters(info);
[X, Y] = pixcenters(refmat, height, width);

% New:
R = refmatToMapRasterReference(refmat, [height width]);
[X, Y] = worldGrid(R, 'gridvectors');
Geographic coordinates → geographicGrid
% Old:
[lon, lat] = pixcenters(refmat, height, width);

% New:
R = refmatToGeoRasterReference(refmat, [height width]);
[lat, lon] = geographicGrid(R, 'gridvectors');

Note: pixcenters returned row vectors by default. worldGrid/geographicGrid return 2-D arrays. Pass 'gridvectors' for row-vector output.


Migrating Referencing Matrices and Vectors

Legacy Mapping Toolbox code used referencing matrices (3x2 double) and referencing vectors (1x3 double) to relate raster grids to geographic or map coordinates. These have been replaced by raster reference objects which are self-describing, CRS-aware, and used throughout the modern API.

Many deleted functions (makerefmat, ltln2val, meshgrat, resizem, setltln, setpostn, pixcenters, limitm, mapbbox, sizem) required referencing matrices or vectors as input. The modern equivalents all require raster reference objects instead.

Choosing a Raster Reference Constructor
ConstructorCoordinate TypeRaster Interpretation
georefcellsGeographic (lat/lon)Cells — each element represents an area
georefpostingsGeographic (lat/lon)Postings — each element represents a point
maprefcellsProjected (x/y)Cells — each element represents an area
maprefpostingsProjected (x/y)Postings — each element represents a point

How to choose:

  • Geographic vs Map: Use georef* if coordinates are latitude/longitude. Use mapref* if coordinates are in a projected system (meters, feet).

  • Cells vs Postings: Use cells for imagery and classified data (pixel covers an area). Use postings for elevation grids and sampled data (value at a point).

Converting Existing Referencing Matrices

If you have a referencing matrix from old code or a loaded .mat file, convert it:

R = refmatToGeoRasterReference(refmat, rasterSize);
R = refmatToMapRasterReference(refmat, rasterSize);
Living Functions with Removed Syntax

These functions still exist but no longer accept referencing vectors or matrices as of R2024b. Pass a raster reference object instead:

mapoutline, worldfilewrite, geotiffwrite, areamat, filterm, findm, imbedm, mapprofile, vec2mtx, gradientm, los2, viewshed, neworig, contourm, contourfm, contour3m, meshm, meshlsrm, grid2image

Migration pattern (same for all — replace someFunction with any function above):

% TEMPLATE — not executable; illustrates the shape common to all functions listed above.
% Old:  result = someFunction(Z, refvec);
% New:
R = refvecToGeoRasterReference(refvec, size(Z));
result = someFunction(Z, R);

Migration Groups at a Glance

The full table above lists every function individually; this groups the common families with their key migration gotcha.

AvoidUse InsteadReason
webmap / wm* familygeoaxes + geoplot / geoiconchartNot Recommended, will be removed
geotiffread / arcgridreadreadgeoraster (output order differs; keep geotiffread for URLs or multi-image files)Not Recommended
mfwdtran / minvtranprojfwd / projinv (or geodetic2ecef / ecef2geodetic for globe)Removed
makerefmatgeorefcells / maprefcellsRemoved
pixcentersworldGrid (projected) / geographicGrid (geographic)Removed
map2pix / pix2mapworldToIntrinsic / intrinsicToWorldRemoved
meshgratgeographicGrid / ndgrid (depending on syntax)Removed
dted familyreadgeoraster → geocrop → georesizeRemoved / Not Recommended, will be removed
distdimspecific conversion functions (e.g., deg2km, nm2rad) / unitsratioNot Recommended
ltln2valgeointerp (default method is 'linear' not 'nearest')Removed

Copyright 2026 The MathWorks, Inc.


Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
MathWorks
Publisher
MathWorks (Official)
Source
matlab/matlab-agentic-toolkit · skills-catalog/matlab-software-development/matlab-modernize-code · commit 2a7f215
Licence
BSD 2-Clause License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE.md)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by MathWorks.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download matlab-modernize-code.zip