Rank: 18821 based on 0 downloads (last 30 days) and 0 file submitted

fremond khoo


Personal Profile:


Watch this Author's files


Comments and Ratings by fremond khoo View all
Updated File Comments Rating
06 Apr 2011 Embedded Coder Robot NXT Demo Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots Author: Takashi Chikamasa

im sorry..i face some problem while installing..can u tell me what's wrong??
and how to solve it??..thanks

Install cancelled
??? Error using ==> install_ecrobot_tools>do_unzip at
Problem unzipping D:\Documents and Settings\user\My
Documents\MATLAB\ECRobotDownloads\ecrobotNXT.zip to

Error in ==> install_ecrobot_tools>do_unzip at 456
error('Problem unzipping %s to %s', zipfile,

Error in ==> install_ecrobot_tools>install_ecrobot at

Error in ==> install_ecrobot_tools at 68

27 Mar 2011 Speed Control of a DC Motor MATLAB GUI for real-time speed control of a DC motor. Author: Priyanshu Agarwal

i really need some help over here..i have connected and run my stepper motor but how come i cannot control the speed of my motor?..can someone give me some hints?

below are my coding:

function text_speed_m1_Callback(hObject, eventdata, handles) sliderValue = get(handles.text_speed_m1,'String');

%convert from string to number if possible, otherwise returns empty sliderValue = str2nm(sliderValue);

%if user inputs something is not a number, or if the input is less than 0 %or greater than 100, then the slider value defaults to 0 if (isempty(sliderValue) sliderValue < 0 sliderValue > 256) set(handles.slider_speed_m1,'Value',0); set(handles.text_speed_m1,'String','0'); else set(handles.slider_speed_m1,'Value',sliderValue); end

% --- Executes during object creation, after setting all properties. function text_speed_m1_CreateFcn(hObject, eventdata, handles) if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor')) set(hObject,'BackgroundColor','white'); end

% --- Executes on slider movement. function slider_speed_m1_Callback(hObject, eventdata, handles) sliderValue = get(handles.slider_speed_m1,'Value');

%puts the slider value into the edit text component set(handles.text_speed_m1,'String', num2str(sliderValue)); % Update handles structure guidata(hObject, handles);

% --- Executes on button press in pushbutton_speed_m1. function pushbutton_speed_m1_Callback(hObject, eventdata, handles) obj1 = instrfind('Type','serial','Port','COM8','Tag','');

if isempty(obj1) obj1 = serial('COM8'); else fclose(obj1); obj1 = obj1(1) end

fopen(obj1); sv2 = get(handles.text_speed_m1,'String'); fprintf(obj1,'%s','rs') fprintf(obj1,int2str(get(hObject,'Value')));

please give me some hints on what i do wrong..really need help now..thanks

23 Mar 2011 Inverse kinematics for a 3DOF robot arm. Authors: Michael Miranda and Renato Salinas Find the spatial location and angle of each axis articulator. Author: Michael Miranda

excuse me author..

i would like to ask a question as this is very much urgent for me..please help me out here..

now i need to program both of my stepper motor to move to a desired position without the help of a microcontroller..is that possible with just using matlab GUI??..

thanks a lot in advance

22 Mar 2011 Arduino IO package: Slides and Examples Slides for the webinar: "Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB". Author: Giampiero Campa

can i ask how do i plot a graph in MATLAB GUI using the data i obtained through arduino?

18 Mar 2011 Arduino meets MATLAB Matlab Linked to Arduino Author: Sreeram Mohan

hi and good day to all,

i want to ask about the interface with arduino and matlab..i am now trying to get the data from potentiometer which is attached at my stepper motor shaft..can anybody tell me how to get the data from potentiometer through arduino board to my computer(MATLAB) and try to plot the graph at the same time?..i have the code to plot the graph but i cant run both files at the same..

either i run my motor or get data from potentiometer by turning the potentiometer myself..so how do i solve this??..

anyone would be so kind to help out here??

thanks in advance^^

Contact us