Is there a better way to do the following undocumented thing
Mostra commenti meno recenti
I have a piece of 3rd party code with the following lines, which worked as needed in R2013b,
hgp = findpackage('hg');
axesC = findclass(hgp,'axes');
LimListener = handle.listener(imAxes,...
[axesC.findprop('XLim') axesC.findprop('YLim')],...
'PropertyPostSet',@localLimitListener);
This code uses undocumented functions findpackage and findclass . Now that I've upgraded to R2014b, their behavior has changed and the code no longer works properly. In particular, findpackage('hg') now just returns empty, [] .
Was there a better way to have implemented this in R2013b, one which avoids undocumented MATLAB and which will continue to work in R2014b?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Simulink 3D Animation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!