How to save modify model in simulink
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
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.
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!