GUIDE help
Show older comments
How I can import a variable of my workspace into a line to my guide *.m
function btnSaltaPepper_Callback(hObject, eventdata, handles)
set(handles.truido,'string','Salt & Pepper Noise')
axes(handles.iruido);
J = imnoise(I,'salt & pepper');
imshow(J,'InitialMagnification','fit')
assignin('base','J',J)
I need import I from my workspace for apply the imnoise
Thanks
Accepted Answer
More Answers (1)
Sergio
on 10 Nov 2011
0 votes
Categories
Find more on Workspace Variables and MAT Files 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!