How to save modify model in simulink

3 ビュー (過去 30 日間)
Om
Om 2014 年 3 月 3 日
コメント済み: Om 2014 年 3 月 4 日
I had been trying to save the initial of the model with initial state, but was unable to. the model i had been trying is the wind farm (DFIG phasor model) in the simpower system. i had been trying to follow the instruction on the guide.
i was able to uncheck the initial state in the 1st step, and was able to set the wind speed step to 100 times bigger.
next i manage to check the breaker fault to make sure that the three phase are not on, so as the 120 kV source block, which is set to none on the time variation parameter.
but when i come to step 5, this is where the problem comes in. for this step, once the simulation completed, i when to the matlab command window to type in the command. which could be seen in the picture.
for the xFinal part i change the name on the scope so that it could be seen in this form.
other then that i had also try saving the DFIG file somewhere on the desktop to see if it works.
so Hopefully the information i gave is enough to be able to help solve the problem i am currently facing. Thanks
  2 件のコメント
Niklas Nylén
Niklas Nylén 2014 年 3 月 3 日
Are you able to create and save any type of file from matlab? For example, in the command prompt write:
edit myScript.m
write anything in myScript and attempt to save the file.
Om
Om 2014 年 3 月 4 日
Hi Niklas Nylén,
i had try the command you refer me to. unfortunately i did did not work, this was the result shown to me.
<<
>>
It prompt me to create a script which i try saving the the two command on step 5 into it. and when i run the script nothing happen!!

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

回答 (1 件)

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy 2014 年 3 月 3 日
You are within the MATLAB installation directory; you would need to change to a directory where you have write permission.
Before starting your exercise, execute cd c:\temp or to another directory where you can save a file, and try again.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by