MATLAB Answers

0

2016b update Diagram error: Global variable is used in incompatible ways in following models: variable must have same attributes in all context. how to suppress this error.

Asked by Sumathi Ramar on 5 Feb 2018 at 3:24

I have a Simulink model that reference multiple models. I have placed a constant block with value as Variable "xxxx" (xxxx datatype is defined as single in base workspace)with datatype uint8 in one model and used constant block datatype for same variable as "inherit" in another model. when I do update diagram(ctrl-d), I face error as "Global variable is used in incompatible ways in following models: variable must have same attributes in all context". I am not facing this error in R2011b. Is there any setting in configuration parameter to suppress this error?

  0 Comments

Log in to comment.

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today