Error-Initial state vector "X0" must be a real vector of length 86
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When i am running simulink program i am getting error as Initial state vector "X0" must be a real vector of length 86
The simulink is power_wind_dfig.mdl
when i run this the program runs ,but i tried to connect another wind turbine across B575.i get that error
pleasae help
4 commentaires
Sachin Ganjare
le 22 Oct 2012
Can you upload initialization file as well, as the model is not simulating due to some undefined parameters
Walter Roberson
le 5 Nov 2012
Please use better tags for this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Réponse acceptée
Azzi Abdelmalek
le 25 Oct 2012
Modifié(e) : Azzi Abdelmalek
le 25 Oct 2012
In the home page of Matlab, on the top-middle there is a "current folder" by default it's
F:\Old\bck\Program Files\MATLAB\R2011b\bin
change it to a new folder
5 commentaires
Azzi Abdelmalek
le 25 Oct 2012
kash, If the question you've previously posted was answered accept it or no, and repost another question.
Plus de réponses (2)
Sachin Ganjare
le 22 Oct 2012
Use below command & check the results:
newoptions = simset (oldoptions, 'SaveFormat', 'StructureWithTime');
10 commentaires
Sachin Ganjare
le 25 Oct 2012
Some parameters used in your model are undefined, this error may be related to that.
Azzi Abdelmalek
le 22 Oct 2012
Modifié(e) : Azzi Abdelmalek
le 22 Oct 2012
right click on your model, then on model properties , callbacks, init fcn you will find the initialization command
load power_wind_dfig_xinit % this file contains a variable named xInitial (1x85)
If you have changed the model I think you must change xInitial
16 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!