simulink problem urgent HELP

1 Ansicht (letzte 30 Tage)
androSLO
androSLO am 8 Jan. 2017
Bearbeitet: androSLO am 10 Jan. 2017
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.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by