Hi all.. I want to run a simulation repeatedly for certain times with different parameters at each. I have a code as an m file and I can share. Can anyone help me about that ?
Thanx Ameer.. Would you tell me how could I change for example the active power of a Three Phase Parallel RLC Load that's in simulink library from an m-file ?
You define a variable in MATLAB workspace, for example
power = 1000;
then in the simulink block, write the name of the variable (power) in the Active power field. When you change the value of power inside for loop, the next simulation will read that value and simulate accordingly. Similarly, you can change other parameters.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
0 Comments
Sign in to comment.