how to define a global parameter in a .m file in matlab

I know how to define a global parameter in base workspace. But when there are too many parameter I should define, I don't want to do it one by one in base workspace. How can I define all parameters directly in a .m file, include the initial value, range, data type, meaning and other information, thanks!

1 Comment

If you're talking about Simulink parameters, please specify that.

Sign in to comment.

Categories

Asked:

on 19 Jun 2013

Community Treasure Hunt

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

Start Hunting!