How to save modify model in simulink

3 views (last 30 days)
Om
Om on 3 Mar 2014
Commented: Om on 4 Mar 2014
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 Comments
Niklas Nylén
Niklas Nylén on 3 Mar 2014
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 on 4 Mar 2014
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!!

Sign in to comment.

Answers (1)

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy on 3 Mar 2014
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.

Categories

Find more on Event Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!