want to workspace block with same variable name in the model

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)

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!

Categories

Products

Release

R2014b

Tags

Asked:

on 15 Jul 2019

Answered:

on 13 Nov 2024

Community Treasure Hunt

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

Start Hunting!