the variable is present in dd and .mat file, but showing error Cannot resolve variable.
Show older comments

4 Comments
Walter Roberson
on 20 Jun 2023
What is your code that should load B_x_NorUpdatedListLev_In into the base workspace?
Sanchita
on 20 Jun 2023
Walter Roberson
on 20 Jun 2023
Variables like that one must be defined in the base workspace before you attempt to build (or compile) the Simulink model. If the variable is being defined by Targetlink then you would have to run the Targetlink initialization routine to get the variables created before you could work on the model.
Sanchita
on 20 Jun 2023
Answers (0)
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!