Run with command line but not with simulink
古いコメントを表示
Hi,
I have a function that works well in command line. I integrate it into a simulink and it's not working.
Errors are like :
- Mixed field types in structure arrays are not supported
- FIND requires variable sizing
Any recommendation ?
NB:I am using Matlab 2017b
8 件のコメント
Bob Thompson
2019 年 2 月 11 日
編集済み: Bob Thompson
2019 年 2 月 11 日
What is the command that you are trying to use? Please include more information about your code.
Mohamad TOUT
2019 年 2 月 12 日
編集済み: Mohamad TOUT
2019 年 2 月 12 日
Jan
2019 年 2 月 12 日
What is a "structure file"? How do you "add a function"?
Maybe the problem gets clear, if you post a minimal working example, which reproduces the problem.
Mohamad TOUT
2019 年 2 月 12 日
Mohamad TOUT
2019 年 2 月 13 日
I am just guessing based on the text of the error, but it seems that Simulink has a problem loading the file 'test1.mat' because there are different field types.
it also says "use the command 'whos -file test1,mat' to view the variables in the MAT file'
Did you do this? What is the result?
Mohamad TOUT
2019 年 2 月 13 日
Mohamad TOUT
2019 年 2 月 14 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Naming Conventions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
