Static code metrics report was not successfully generated because of the following errors.

expression must have pointer-to-object type but it has type "Float"
The data type must be Float
How can I sove it?

Answers (1)

Hello,
In order to solve the given error, you may follow this steps:
  1. Check which line in the code where the error occurs
  2. Check for the data type of the variable and also review the declaration and initialization
  3. Double check where the referencing and dereferencing operators (*, &) are used correctly
  4. Consider type casting of variables
Hope it helps!!

Categories

Find more on Reporting and Database Access in Help Center and File Exchange

Products

Release

R2022a

Asked:

dai
on 25 Jun 2023

Answered:

on 25 Jun 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!