using packages for defining constants

3 次查看(过去 30 天)
hello, using packages to define constants appears a very efficient method for repetitive defining; I was using http://uk.mathworks.com/help/matlab/matlab_oop/properties-with-constant-values.html however, classes and files are ambiguous. Will someone please indicate how a constant file may be defined and used? Also may this file be present in the local directory and may it be placed in the search path for more permanent use?
Gavin.

采纳的回答

Gavin Seddon
Gavin Seddon 2015-8-27
This was fixed using UNIX environment and M files.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by