power system control in simulink
1 view (last 30 days)
Show older comments
Please help me with this, I run the model but gives me an error corresponding to input variables to the block
note: this is a SIMULINK file, for example 12.11 in Hadi Saadat book of power system analysis
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1182943/image.jpeg)
2 Comments
Nishan Nekoo
on 9 Nov 2022
Hi Baraa can you post the model you are using? Also what version of MATLAB are you using?
Sam Chak
on 10 Nov 2022
I think the model is available here:
Answers (1)
Nishan Nekoo
on 10 Nov 2022
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1188298/image.png)
This error is due to changes in the behavior of masks since this model was created in MATLAB R2009b. Please right click on the mask, select Edit Mask and on the Code tab, change the line of code to the above line. That should resolve the error you are seeing.
0 Comments
See Also
Categories
Find more on Simulink Control Design 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!