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 CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by