want to workspace block with same variable name in the model

29 ビュー (過去 30 日間)
manda m
manda m 2019 年 7 月 15 日
回答済み: Shuba Nandini 2024 年 11 月 13 日 3:43
I have a model with multiple to workspace blocks with same name, when the model is run error is 'duplicate data logging variabl name _ specified in both to workspace blocks.how can i update the same workspace variable from different blocks
  1 件のコメント
Ashhar
Ashhar 2024 年 11 月 7 日 10:40
did you find any solution for that?

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

回答 (1 件)

Shuba Nandini
Shuba Nandini 2024 年 11 月 13 日 3:43
Hi Manda,
It is my understanding that you are encountering an error while using two 'To Workspace' blocks with same variable names in the Simulink model.
Kindly follow the below MATLAB Answer link to know how to resolve the issue using Mask subsystem:
I hope this helps!

カテゴリ

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

タグ

製品


リリース

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by