i try to control dsPIC micontroller through Matlab GUI(using IO packages). First, i try to light on the LED by click on the push button i create, could you give me some proper Soln for that microcontroller

 採用された回答

Ilham Hardy
Ilham Hardy 2015 年 7 月 30 日

0 投票

Hi Abu,
This can't be coincidence, I just replied to your other thread. :)
I found this information about interfacing dsPIC with Matlab/Simulink.
However I am afraid I could not be more of assistance as I do not have required software/toolbox on my current PC.

4 件のコメント

Mohammad Abu Bakar Siddique
Mohammad Abu Bakar Siddique 2015 年 8 月 3 日
ok no problem Ilham. that will be very nice of you again.
do you ohave any other information about making pwm signal such any other devices.
thanks
Abu
Mohammad Abu Bakar Siddique
Mohammad Abu Bakar Siddique 2015 年 9 月 30 日
Matlab gui if i put a value in one edit box how can i increase or decrease in another edit box. i saw a function autofocus but it is not working. is there any other function in there.
Walter Roberson
Walter Roberson 2015 年 9 月 30 日
You need to program the Callback for the edit box to change the String property of the other box. Focus has nothing to do with it.
For example,
function editbox1_callback(hObject, event, handles)
curstring = get(hObject, 'String');
backwards = fliplr(curstring);
set(handles.editbox2, 'String', backwards);
Mohammad Abu Bakar Siddique
Mohammad Abu Bakar Siddique 2015 年 9 月 30 日
Hi Roberson thanks for your ans I just want to know more about this i attach a picture here is two edit text if i put a value in one edit text it will divide value from another edit text. for example if edit text1 have 10 always and if i put 2 in 2nd edit text then edit text autometically calculate 5 and put the value in edit text1. how it can be done by me.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by