Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Package alias
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Kaba

Posts: 289
Registered: 5/23/11
Package alias
Posted: Nov 2, 2012 8:14 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

Is it possible to define an alternative name, an alias, for a package? I
would like to do something like this:

+MyPackage-v1
=============

f.m
---

function f()
disp('Version 1');

+MyPackage-v2
=============

f.m
---

function f()
disp('Version 2');

+UserPackage
============

test.m
------

MyPackage = MyPackage-v1;
MyPackage.f();

--
http://kaba.hilvi.org



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.