How to save modify model in simulink
2 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157855/image.jpeg)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157857/image.jpeg)
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
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.
Answers (1)
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.
0 Comments
See Also
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!