Hi, Alec,
I suspect your MLIB_DEVEL_PATH environment variable is not getting set. This
error message...
> An error or warning occurred during a callback while saving
> '/casper_library/casper_library_bus.slx'.
…shows that matlab is trying to save the casper_library_bus.slx file in
"/casper_library" (i.e. one level down from the root directory). I suspect
that’s not really where you’re mlib_devel lives. The matlab code that writes
this file is shown in this part of the error message...
> Error in casper_library_bus_init (line 285)
> filename = save_system(mdl,[getenv('MLIB_DEVEL_PATH'),
> '/casper_library/', 'casper_library_bus']);
As you can see, if "getenv('MLIB_DEVEL_PATH')" returns an empty string, the the
file name which will be used is "/casper_library/casper_library_bus" (plus any
extension that gets added by matlab/simulink). This is the path that is being
used (see previous error message) so that indicates that MLIB_DEVEL_PATH is not
being set in your environment (or maybe set but not "exported"). I think this
is supposed to happen automatically as part of the "startsg" script.
HTH,
Dave