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

5 次查看(过去 30 天)
expression must have pointer-to-object type but it has type "Float"
The data type must be Float
How can I sove it?

回答(1 个)

Parth Saraf
Parth Saraf 2023-6-25
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!!

类别

Help CenterFile Exchange 中查找有关 Reporting and Database Access 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by