@Cell/upgrade.m
0 → 100644
+18
−0
Loading
Sometimes when starting up, a previous handle would clash with an existing handle, causing the TET to fail to load and locking Matlab into a state where it can no longer exit. Fix by ensuring on load no previous handle is ever used, and instead just regenerate all of them. git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/trunk/TableTool@10858 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/trunk/TableTool@10907 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
When the table is closed, there is lots of unnecessary data being stored in the block, all of which changes on the next load. Remove that data before closing, to try and avoid changing the underlying storage, making the TET friendlier to SCMs.
The TET now has a mechanism to upgrade TE blocks to the latest data structures, though backwards compatibility is not currently dealt with. Also clear unneeded cell arrays that held text. I'm not sure why that existed, and at least the quadratic example has both cell and non-cell arrays for holding the text, speaking to the uselessness of the array. Thus remove the array as an upgrade mechanism. This shrinks down the size of the TE blocks some too!
Since the storage format has changed, update the examples to match. Also downgrade all samples to work against MATLAB 2010a, since they seem to have been originally created for it.
Update all version numbers to 0.7.2 for release. Also update my copyright to the current year.
Purge and sanitize table storage format This is a patch against the latest stable to prepare it for the SimCheck work. Currently the table has a mixture of how text entries are stored, for no apparent reason. Examples include this mixture, so it does appear to be a useless difference. This version introduces a way to upgrade tables, and makes use of that to remove a redundant cell array for TE's generated with the tool. There should be no functional difference. Also, this includes a commit to remove changes that would occur to the table upon an open/close cycle, even though the table wouldn't actually change. This just makes the table behave better in the context of a SCM. I've updated the version numbers, and it would be good to get this out there now so that the SimCheck work can be used against tables sooner, without having to re-save as many tables.
When adding new inputs to a TET block, it was possible that the port numbers would no longer line up between the code block and the outer input ports on the TET block. This would cause Simulink models to appear to be hooked up correctly, but misbehave when actually run. Fix by ensuring ports are always correct on save. Both existing ports and new ports are always numbered to match the internal port numbers on the code block. Existing connections are maintained as expected. Due to this change, it is possible that on saving a TET block connections will be re-arranged. Note that these connections will have been incorrect and need adjustment anyways.
Update version numbers for critical update to 0.7.3.
Clipping is used to avoid having text spill on axes, clipping text boxes does nothing as text boxes always clip their contents. This fixes MATLAB R2015a (and possibly R2014b).
Release 0.7.4, fixing MATLAB R2014b/R2015a
Fix some minor issues (output port misalignment + GUI errors) Closes #9 and #10 See merge request !7