MATLAB: Hi every one, I wrote a simple code in GUI that ask the user to enter a string such as (I.2) usin inputdlg then convert it to binary , but i got an error !! the code is provided below .
gui dec2bin
elseif button_state == get(hObject,'Min') address=inputdlg('enter an address');
d=double(address);
s=dec2bin(d,8)
Best Answer
The documentation ofinputdlg shows an example. So please read this again:
Best Answer