simulink problem urgent HELP

2 ビュー (過去 30 日間)
androSLO
androSLO 2017 年 1 月 8 日
編集済み: androSLO 2017 年 1 月 10 日
Hello,
I got problem in simulink with 3 phase real generator. We were working on it in school and there it was working. Now when i have to run it again at home to plot data it shows error. I don't know where is the problem of this error cause all the data are correct inserted.
This error i get:
Error using plot Vectors must be the same lengths.
Error in RealniGenerator_student (line 61) plot(t,u)
Code is this:
figure(1) subplot(211) plot(t,u) xlabel('t[s]') ylabel('u[V]') title('napetost') subplot(212) plot(t,i) xlabel('t[s]') ylabel('i[A]') title('tok')
Other problem is on electrical network. In school also worked fine and showed graphs and data. Now at home in Matlab2016a it gives me this error:
Error using model_omrezja_student (line 13) The block diagram 'ModelOmrezja_1' uses bus signals. However, the 'Mux blocks used to create bus signals' diagnostic is not configured to 'error'. To prevent modeling errors:
(1) Open Upgrade Advisor and run the 'Check for Mux blocks used to create bus signals' check. (2) Follow the recommendations from this check to make your model compliant.
How to fix this also?
Thank you in advance for answers.

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by