I have this circuit in Matlab simulation
As you can see I have R7 variable in my picture .
I want to run this simulink using Matlab script as you can see here :
simOut = sim('ehsaaan.slx','R7','1e-100')
As you can see I pass R7 to my circuit. But when I run the code I get this error :
Error using main
block_diagram does not have a parameter named 'R7'