disp(['Projectile velocity at x = ', num2str(xPosition), ' meters: ', num2str(ProjectileVelocity), ' m/s']); Stephen23 on 9 Apr 2024 Edited: Stephen23 on 9 Apr 2024 @Seth: the problem is the code after the function definition. Either: move it to a separate scr...
name1=num2str([1:50]'); name=cellstr(name1); filename=('F:\Project\FVI-GoogleEarth\Area3.kml'); color=Color_Vuln{:,2}; kmlwrite(filename, lat, lon,'Icon',icon,'IconScale',iconscale,'Name', name,'Color', color); The variable name1 sets the icon's name as a number ...
% Set background pixels where BW is false to zero. maskedRGBImage(repmat(~BW,[1 1 3])) = 0; %pathname = outDir; %handles.outDir?? %imwrite(BW,[pathname, 'BW', num2str(k), '.jpg'], outDir); outDirectory = fullfile(outDir); ...