Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
livelink with simulink
Posted Dec 2, 2022, 4:46 a.m. EST LiveLink for Simulink Version 5.6 2 Replies
Please login with a confirmed email address before reporting spam
I want to control the AC voltage in the COMSOL model circuit through simulink, specifically through the frequency value fed back to each stage. The frequency changes once every cycle, and the specific change depends on the feedback. I define a variable f, given the initial value, however, an error is reported during the apply process in cosimulation, prompting: the number of elements cannot be changed. Please use [] as one of the size inputs to automatically calculate the appropriate size for that dimension. I don't know how to solve it, can someone with good intentions analyze it? I will be very grateful for your help