Using Matlab as a variable name
4 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
Steven Lord
2022-9-29
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?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LabVIEW 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!