It may be that the initial conditions (initial current and/or voltage) of the Resistor are set up so that they conflict with the current source. The initial conditions specification depends on the version you are using, particularly pre vs. post R2014a.
Which version are you using, and which parameters are you using in your Resistor block?
- Sebastian
2 Comments
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/262826-i-am-not-able-to-compile-simscape-current-sensor#comment_333496
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/262826-i-am-not-able-to-compile-simscape-current-sensor#comment_333496
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/262826-i-am-not-able-to-compile-simscape-current-sensor#comment_333500
Direct link to this comment
https://uk.mathworks.com/matlabcentral/answers/262826-i-am-not-able-to-compile-simscape-current-sensor#comment_333500
Sign in to comment.