I am not able to compile Simscape current sensor.
Show older comments
I appreciate your help in identifying compiling issue with the attache ckt.

2 Comments
Walter Roberson
on 6 Jan 2016
What error messages are produced?
Neeta Khare
on 6 Jan 2016
Edited: Neeta Khare
on 6 Jan 2016
Answers (1)
Sebastian Castro
on 6 Jan 2016
1 vote
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
4 Comments
Neeta Khare
on 7 Jan 2016
Walter Roberson
on 7 Jan 2016
You can zip your .slx file and attach the .zip
Sebastian Castro
on 7 Jan 2016
In the meantime, I built the same model with the parameters you said and it works fine for me in R2015b. Either the tool improved over the last 2.5 years or there's something else in the model that we don't see...
- Sebastian
Neeta Khare
on 22 Jan 2016
Categories
Find more on Troubleshooting in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!