Error while importing signal data to signal builder

1 回表示 (過去 30 日間)
Aleksi Martikainen
Aleksi Martikainen 2018 年 3 月 20 日
コメント済み: Aleksi Martikainen 2018 年 3 月 20 日
I have a Simulink model. I run the model and save output data from my model to workspace, save that data to a .mat file and import that data to a signal builder in another model. When I try to run the new model with the signal builder, I get an error:
"Error in [my model/Signal builder]: Initialization commands cannot be evaluated. Caused By: * In an assignment A(:) = B, the number of elements in A and B must be the same."
How do I solve this problem? I am using MATLAB R2017a.
  2 件のコメント
Birdman
Birdman 2018 年 3 月 20 日
Can you share your model?
Aleksi Martikainen
Aleksi Martikainen 2018 年 3 月 20 日
Here is the model that produces the error in Matlab 2017a. The model has only the signal builder with the imported data. The data is imported from four different .mat files to seperate signal groups.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by