How I can fix this "resolve underspecified signal dimensions." error message ?

30 views (last 30 days)
Dear friends, I get the following message when I run my simulink model.Compilation of model 'test1' failed while trying to resolve underspecified signal dimensions.Caused by:Block ''test1/MATLAB Function8'' does not fully set the dimensions of output 'Xc'. How can I fix this

Answers (1)

Fangjun Jiang
Fangjun Jiang on 10 Oct 2023
Edited: Fangjun Jiang on 10 Oct 2023
There is not enough info in the model to determine the size of "Xc". Double check your code, make sure "Xc" is initialized or assigned. Or, at the model, press Ctrl+H, navigate to the function, find data "Xc", set its size

Tags

Community Treasure Hunt

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

Start Hunting!