sathiya Sugumaran Posted April 8, 2014 Report Share Posted April 8, 2014 hello all , how can we maintian the Version for Each mex file. Do we have any assembly version or file version for each mex file where developer can changes and identify the lastest version . Quote Link to comment Share on other sites More sharing options...
Cory Posted April 8, 2014 Report Share Posted April 8, 2014 I just keep a copy of the entire MEX file. In fact for one client I have a macro that automatically deploys the new file and makes a backup copy of the old file for each new version in a date-named folder. MEX files are not compiled so you will not manage it like the source code of compiled apps. And there is no versioning. Thoguh you coudl keep version info in the individual macro notes Quote Link to comment Share on other sites More sharing options...
redwards Posted April 29, 2014 Report Share Posted April 29, 2014 I know this isn't the full answer you are looking for but this is how I tell what version each macro is Variable Set From Misc "Name of Current Macro" into %MacroName% Variable Set String %Version to "v2014.04.28" . . Log Messages to Default Error Log %MacroName% - %Version% This writes to the standard log the name of the macro and it's internal version. I use the date I last made a change (Year.Month.Day). You can set %Version% to anything you like. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.