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

4 ビュー (過去 30 日間)
dai
dai 2023 年 6 月 25 日
回答済み: Parth Saraf 2023 年 6 月 25 日
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 Center および File ExchangeSimulink についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by