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

3 views (last 30 days)
  4 Comments
Walter Roberson
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.

Sign in to comment.

Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!