Error with axes property clim, when function is compiled
显示 更早的评论
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]);
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!