Clear Filters
Clear Filters

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

5 views (last 30 days)
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)

Parth Saraf
Parth Saraf on 25 Jun 2023
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

Community Treasure Hunt

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

Start Hunting!