When I click on Performance Adviser in Simulink I get DMR client’s dictionary function threw std::exception ‘Failed to create cache
I’ve changed the equations I’d like to use for the resistor, dc voltage source and dc current source to a quadratic formula by going to the "source code" when clicking on the element properties, as this electrical circuit will actually be an analogy for a mechanical circuit.
However, it is not performing as I expect, with a negative current in one branch of the circuit.
So to understand what could be the issue, I clicked on performance adviser and get the failed to get cache error shown in the title of the question.
When I click on Model Adviser I also get:
Error occurred during model compile.
Error during code generation: Dot indexing is not supported for variables of this type.
The circuit is too big to take a screenshot of when zooming out without some parts becoming invisible.
I changed the equations to be V = I^2*R and P = I^3*R.I’ve changed the equations I’d like to use for the resistor, dc voltage source and dc current source to a quadratic formula by going to the "source code" when clicking on the element properties, as this electrical circuit will actually be an analogy for a mechanical circuit.
However, it is not performing as I expect, with a negative current in one branch of the circuit.
So to understand what could be the issue, I clicked on performance adviser and get the failed to get cache error shown in the title of the question.
When I click on Model Adviser I also get:
Error occurred during model compile.
Error during code generation: Dot indexing is not supported for variables of this type.
The circuit is too big to take a screenshot of when zooming out without some parts becoming invisible.
I changed the equations to be V = I^2*R and P = I^3*R. I’ve changed the equations I’d like to use for the resistor, dc voltage source and dc current source to a quadratic formula by going to the "source code" when clicking on the element properties, as this electrical circuit will actually be an analogy for a mechanical circuit.
However, it is not performing as I expect, with a negative current in one branch of the circuit.
So to understand what could be the issue, I clicked on performance adviser and get the failed to get cache error shown in the title of the question.
When I click on Model Adviser I also get:
Error occurred during model compile.
Error during code generation: Dot indexing is not supported for variables of this type.
The circuit is too big to take a screenshot of when zooming out without some parts becoming invisible.
I changed the equations to be V = I^2*R and P = I^3*R. error, dmr, dot indexing, simulink, code generation MATLAB Answers — New Questions