Skip to content

Commit

Permalink
Cleaned export_library.m
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Jan 31, 2019
1 parent f3d64b0 commit 83224b8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions matlab/export_library.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,10 @@
set_param(libraryName, 'Lock', 'on');
end

% Export the library
% Export the library. It must be in slx otherwise it will not show up in

This comment has been minimized.

Copy link
@traversaro

traversaro Feb 1, 2019

Member

The library browser?

This comment has been minimized.

Copy link
@diegoferigo

diegoferigo Feb 2, 2019

Author Member

... just saw it, yes

fprintf('\nExporting for 2014b\n');
save_system(libraryName, 'WBToolboxLibrary', 'ExportToVersion', 'R2014B_SLX');
movefile('WBToolboxLibrary.slx', 'library/exported/WBToolboxLibrary.slx');
% TODO: Check if mdl support is still required
% fprintf('\nExporting for 2012a\n');
% save_system(libraryName, 'WBToolboxLibrary', 'ExportToVersion', 'R2012A_MDL');
% movefile('WBToolboxLibrary.mdl', 'library/exported/WBToolboxLibrary.mdl');

% Unload the library
close_system(libraryName);
Expand Down

0 comments on commit 83224b8

Please sign in to comment.