Skip to content

Defect: issue with reading files due to a bug in pm.vis.Subplot file #52

@theoneineed

Description

@theoneineed

MATLAB
Apple Silicon (M1 Pro)
Tahoe MacOS 26

Unable to use readChain, readSample and other read functions due to an error encountered while using pm.vis.Subplotheatmap by the package
The read functions could not be completed as it would open the file, read the file but moving onto the visualization aspect of read function, it would call pm.vis.Subplot from subplotheatmap function but matlab could not find the pm.vis.subplot function.

Image

Solution I went with
In line 10 of the file ( https://github.com/cdslaborg/paramonte/blob/main/src/matlab/main/%2Bpm/%2Bvis/Subplot.m ), it starts with "!> \note" which is to be used by Doxygen but matlab apparently reads it as part of the code so, doesn't recognize the "classdef Subplot < pm.vis.axes.Axes" statement in line 192 as the first line but class definition needs to be the first executable line.

I just commented out the lines that were meant for doxygen (there is another similar segment in the file in line 289 which I also commented out). This did the trick.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions