Bug in PCB antenna designer ?

조회 수: 4 (최근 30일)
Mathias
Mathias 2024년 5월 27일
답변: Siraj 2024년 7월 29일
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
SACHIN KHANDELWAL
SACHIN KHANDELWAL 2024년 6월 24일
Could you please share the repro. steps with dummy data ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Siraj
Siraj 2024년 7월 29일
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.

카테고리

Help CenterFile Exchange에서 Get Started with Antenna Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by