Bug in PCB antenna designer ?

4 Ansichten (letzte 30 Tage)
Mathias
Mathias am 27 Mai 2024
Beantwortet: Siraj am 29 Jul. 2024
Hello, I'm having a trouble with pcb designer, for example here I'm trying to set Ly as the length shown in the properties of y, which I've done with many others, any tip ? Also I have trouble trouble saving my sessions, if I save it sometimes there will be no save at all and I'll lost my previous work. Thank you for help, Mathias Bedossa.
  1 Kommentar
SACHIN KHANDELWAL
SACHIN KHANDELWAL am 24 Jun. 2024
Could you please share the repro. steps with dummy data ?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Siraj
Siraj am 29 Jul. 2024
I understand you want to set the "Length" property of "y" in the PCB stack, but you're encountering the following error: "Invalid argument at position 1. Value must be a scalar."
From the error screenshot you attached, it appears you want to set the "Length" to "9*(L2-W2) + W2". You can copy this expression and paste it into the MATLAB Command Window to check its value and verify if it is a scalar. The error suggests that the value is not a scalar.
For better understanding, here is a code example demonstrating how the result of the expression can vary based on the inputs, showing it might be a vector or a scalar:
L2 = [1 2];
W2 = 1;
ans1 = 9*(L2-W2) + W2;
disp(ans1);
1 10
L2 = 2;
W2 = 1;
ans2 = 9*(L2-W2) + W2;
disp(ans2);
10
If you're having trouble saving the session, please restart MATLAB and execute the following commands to refresh the functions and files in the system caches:
rehash toolbox
rehash toolboxcache
After this, try saving again and do not close MATLAB until the MATLAB kernel finishes saving the data. You can check the bottom left corner to see if the kernel is busy and ensure the save is complete.
For more details about "rehash", please refer to this documentation: https://www.mathworks.com/help/matlab/ref/rehash.html
If this information doesn't solve your issue, you can reach out to MathWorks support using the following link:
Hope this helps.

Kategorien

Mehr zu Get Started with Antenna Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by