- Check which line in the code where the error occurs
- Check for the data type of the variable and also review the declaration and initialization
- Double check where the referencing and dereferencing operators (*, &) are used correctly
- Consider type casting of variables
Static code metrics report was not successfully generated because of the following errors.
4 views (last 30 days)
Show older comments
expression must have pointer-to-object type but it has type "Float"
The data type must be Float
How can I sove it?
0 Comments
Answers (1)
Parth Saraf
on 25 Jun 2023
Hello,
In order to solve the given error, you may follow this steps:
Hope it helps!!
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!