Skip to content

MATLAB output in Claude Code shows raw HTML for hyperlinks #21

@michellehirsch

Description

@michellehirsch

The output displayed in Claude Code shows hyperlinks, which can make the output extremely difficult to read. Can we disable hotlinks (feature("hotlinks",false)) when launching or connecting to a MATLAB session?

Here's an example that shows how bad it can be:

 matlab - evaluate_matlab_code (MCP)(project_path: "/Users/michellehirsch/Coding/Agent Experiments/MATLAB/Claude/toml", code:
                                     "buildtool test")
  ⎿  Error: matlab error: arseKeyValue</a> (<a href="matlab: opentoline('/Users/michellehirsch/Coding/Agent 
     Experiments/MATLAB/Claude/toml/toolbox/readtoml.m',245,0)">line 245</a>)
                 trackKeyOrder(metadata, tablePath, key);
         
         Error in <a href="matlab:matlab.lang.internal.introspective.errorDocCallback('readtoml>parseToml', 
     '/Users/michellehirsch/Coding/Agent Experiments/MATLAB/Claude/toml/toolbox/readtoml.m', 89)" 
     style="font-weight:bold">readtoml>parseToml</a> (<a href="matlab: opentoline('/Users/michellehirsch/Coding/Agent 
     Experiments/MATLAB/Claude/toml/toolbox/readtoml.m',89,0)">line 89</a>)
                     [data, currentTable] = parseKeyValue(data, currentTable, currentTablePath, line, datetimeType, metadata);
         
         Error in <a href="matlab:matlab.lang.internal.introspective.errorDocCallback('readtoml', 
     '/Users/michellehirsch/Coding/Agent Experiments/MATLAB/Claude/toml/toolbox/readtoml.m', 32)" 
     style="font-weight:bold">readtoml</a> (<a href="matlab: opentoline('/Users/michellehirsch/Coding/Agent 
     Experiments/MATLAB/Claude/toml/toolbox/readtoml.m',32,0)">line 32</a>)
             [data, metadata] = parseToml(fileContent, options.DatetimeType);
         
         Error in <a href="matlab:matlab.lang.internal.introspective.errorDocCallback('toml_test/testInlineTable', 
     '/Users/michellehirsch/Coding/Agent Experiments/MATLAB/Claude/toml/tests/toml_test.m', 143)" 
     style="font-weight:bold">toml_test/testInlineTable</a> (<a href="matlab: opentoline('/Users/michellehirsch/Coding/Agent 
     Experiments/MATLAB/Claude/toml/tests/toml_test.m',143,0)">line 143</a>)
     … +110 lines (ctrl+o to see all)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA request for new functionality or an improvement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions