Function generating error when running the test sequence

1 回表示 (過去 30 日間)
Diana
Diana 2024 年 5 月 8 日
コメント済み: Pat Canny 2024 年 5 月 13 日
Hi,
After creating the test harness (external, with a test sequnce) for a simulink model, Simulink Test created this Global Stub Functions block where I need to define all the local functions which are not used at the top level of the model.
I manage to work with one of these functions, but one of them is returning the following error (even though I made sure I defined correctly the inputs and outputs arguments and the data types are used accordingly):
The arguments for function 'MyFunction' must use consistent names between 'MyHarness/Model' and 'MyHarness/Global Stub Functions/[Value,ERR] = MyFunction(ID)'.
Please help me remove this problem that is causing me so much trouble!
Thanks much in advance!
Regards,
Diana
  1 件のコメント
Pat Canny
Pat Canny 2024 年 5 月 13 日
I recommend contacting MathWorks Technical Support. This question requires more information.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeOutputs についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by