Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

C++ entry points should have some error checking to ensure inputs are of the right type

Open
#185 0 comments 0 reactions 1 assignee View on GitHub

@duncanpo is already working on this.

Since Jul 18, 2025.

Assessment

This issue has not been assessed yet.

Description

refactoring

Currently, C++ entry points do not perform any error checking and simply assumes inputs are of the right type. Consider making them more robust by adding some type checking and assertion otherwise. For example,

matlab::data::ArrayType type = value_mda[0].getType();
if (type == matlab::data::ArrayType::DOUBLE)
/* do something*/
else
/* assert */
Dominant language
MATLAB
Stars
19
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mathworks/OpenTelemetry-MATLAB

All issues in mathworks/OpenTelemetry-MATLAB

Similar issues

More MATLAB issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.