Using Matlab as a variable name

1 visualización (últimos 30 días)
KAE
KAE el 29 de Sept. de 2022
Comentada: KAE el 29 de Sept. de 2022
I am comparing results from a program written in Matlab to one written in Labview, so I want to create structures named Matlab and Labview containing the program outputs. matlab.m exists on my path as a readme type of file with no code in it, so no conflict there. Are there any conflicts with existing functions etc. to beware of if I use Matlab and Labview as structure names?

Respuesta aceptada

Steven Lord
Steven Lord el 29 de Sept. de 2022
There is a package named matlab that some functionality in MATLAB uses (such as the unit testing framework matlab.unittest package) so I'd recommend using a different name. Perhaps "matlabresults" would be a better name, or maybe a "results" struct with fields named matlab and labview?
  1 comentario
KAE
KAE el 29 de Sept. de 2022
Thanks, Steve, and your solution is a good one.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre LabVIEW en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by