want to workspace block with same variable name in the model

30 visualizaciones (últimos 30 días)
manda m
manda m el 15 de Jul. de 2019
Respondida: Shuba Nandini el 13 de Nov. de 2024 a las 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

Respuestas (1)

Shuba Nandini
Shuba Nandini el 13 de Nov. de 2024 a las 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!

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by