The variable capacitor in Simscape doesn't take vector or function

Hi everyone, I'm trying to make a circuit in Simscape, i need to make a variable capacitance which takes a function from the workspace, but it give me the error in the picture, any help, please?

답변 (1개)

Sabin
Sabin 2023년 1월 9일

0 개 추천

Having a function is fine but the output of the function should be scalar not a vector. If the function provides several values perhaps the circuit needs to be updated to include several capacitors.

카테고리

질문:

2016년 12월 29일

답변:

2023년 1월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by