want to workspace block with same variable name in the model

30 views (last 30 days)
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

Answers (1)

Shuba Nandini
Shuba Nandini on 13 Nov 2024 at 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!

Tags

Products


Release

R2014b

Community Treasure Hunt

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

Start Hunting!