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

4 visualizaciones (últimos 30 días)
expression must have pointer-to-object type but it has type "Float"
The data type must be Float
How can I sove it?

Respuestas (1)

Parth Saraf
Parth Saraf el 25 de Jun. de 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!!

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by