Bug in PCB antenna designer ?

4 visualizaciones (últimos 30 días)
Mathias
Mathias el 27 de Mayo de 2024
Respondida: Siraj el 29 de Jul. de 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 comentario
SACHIN KHANDELWAL
SACHIN KHANDELWAL el 24 de Jun. de 2024
Could you please share the repro. steps with dummy data ?

Iniciar sesión para comentar.

Respuestas (1)

Siraj
Siraj el 29 de Jul. de 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.

Categorías

Más información sobre Get Started with Antenna Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by