Inquiry about using the source of the sltest.harness.create function depending on the MATLAB version

4 ビュー (過去 30 日間)
Hello.
I have a question while using MATLAB.
When I used the 2021b version last year, there was a Signal Builder in the Source of the 'sltest.harness.create' function, so I used it to create a test harness.
This year, when I upgraded to the 2022b version, it seems that the Signal Builder in the Source of the 'sltest.harness.create' function has disappeared.
I would like to ask if it has been replaced with another function, or if there is another way (function) to create a harness using the Source creation form as a Signal Builder.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
ex) sltest.harness.create(harnessUnit,'Name', harName, 'Source', 'Signal Builder')
[error]
Expected input to match one of these values: 'Inport', 'Signal Editor', 'From Workspace', 'From File', 'Test Sequence', 'Chart', 'Constant', 'Ground', 'None', 'Custom' The input, Builder', did not match any of the valid values.

採用された回答

Pat Canny
Pat Canny 2024 年 11 月 20 日
Hi @WJKIM,
Apologies for the confusion. The Signal Builder was deprecated as a harness source (for new harnesses) in R2022b. Harnesses created in releases prior to R2022b which contain Signal Builder as a source are still supported. On behalf of the team, I apologize for the lack of a release note on this.
We generally recommend (across all products) the use of Signal Editor as a replacement for Signal Builder: https://www.mathworks.com/help/simulink/ug/migrate-from-signal-builder-block-to-signal-editor-block.html
Thanks
  1 件のコメント
WJKIM
WJKIM 2024 年 11 月 27 日
編集済み: WJKIM 2024 年 11 月 27 日
Thank you so much.
I'm going to consider this method (Signal Editor).

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by