Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use the s-function block in Matlab /Simulink

Status
Not open for further replies.

Rahma Abd El Moumane

Newbie level 3
Joined
May 17, 2015
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
28
Hello every one , and have a nice day;

Dears users Matlab and Simulink programmer , i must use the s-function block to solve my problem and ,i read more about , but still have problem when i program ,

i have (03) inputs: error(a),error(b) ,error(c) and (06) outputs sa1,sa2 for the first leg ,sb1,sb2 for the second leg and finaly sc1,sc2 for the third leg ,then i have some conditions must respected C1,C2,C3 and applied to generate the (06) outputs by leg ,excactly like this table

LEG 1

sa1 sa2 conditions on error (a)
1 1 C1
0 1 C2
0 0 C3

same for LEG 2 and LEG 3


PLEASE is there any membership can guide me to correct my program

regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top