Error with axes property clim, when function is compiled
Show older comments
Hi - I'm currently running a function which controls axes "clim" property. The function runs perfectly as it's native version, however when I compile the suite of code into a standalone application, using the Matlab compiler deploy tool, my tool errors out at this point every time with the error:
Bad property value found. Object Name : axes Property Name : 'CLim'
Any advice would be greatly appreciated. Thanks!
Snipit of code, where OutputLo and OutputHi are integers and OutputLo < OutputHi:
fullscreen = get(0, 'Screensize');
graph.ir = figure;
graph.axis(1) = axes('units','normalized','position',[0.53 0.55 0.45 0.4],'clim',[OutputLo,OutputHi]);
graph.axis(2) = axes('units','normalized','position',[0.03 0.55 0.45 0.4],'clim',[OutputLo,OutputHi]);
graph.axis(3) = axes('units','normalized','position',[0.53 0.05 0.45 0.4],'clim',[OutputLo,OutputHi]);
graph.axis(4) = axes('units','normalized','position',[0.03 0.05 0.45 0.4],'clim',[OutputLo,OutputHi]);
Answers (0)
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!