- This topic has 5 replies, 3 voices, and was last updated 8 years ago by wafa mehrez.
-
AuthorPosts
-
-
March 25, 2015 at 10:08 pm #19009MONTCHO MarliseParticipant
Hello,
I need your help.
I use for my simulation two matlab component as described in the file below. Firstly, I transmit data from matlab to optisystem. I do some analysis on the data and then I bring them back to matlab to complete the analysis.
My problem is this: I manage to correctly send the data from matlab to optisystem, but I find that my simulation does not come at the second matlab component. For proof, my second matlab component has two OutPort but the workspace still shows me a single output (component maltab 1) after simulation.
Can you help me recover my data from optisystem to matlab . I’ve read all the documents on the co-simulation matlab-optisystem. Thank you for your help -
March 25, 2015 at 10:11 pm #19011MONTCHO MarliseParticipant
i complete with matlab files
-
March 26, 2015 at 12:11 pm #19033Damian MarekParticipant
I found one or two errors with the m file and component.
1) If a component in OptiSystem is missing a connection to one of its inputs it will not create any output. Either connect a binary null to the receiver component or get rid of the input for now.
2) In the m file you reference the parameterized and noise signals, which do not exist in that particular signal, which gives an error. I simply deleted them to get it working but you could write some type of conditional statement.
Cheers!
-
-
March 27, 2015 at 7:52 am #19048MONTCHO MarliseParticipant
Hello
Thank you Damian for your reply. I deleted the unnecessary connection and I got my exit
I calculate my error rate in matlab as I generate my data there. But unfortunately, I get a very high rate (greater than 0.50). But when I connect directly the two matlab components (by removing the diodes, fiber and photodiode), I find 0 as error rates what is good because i don’t introduce any noise. How can I reduce my error rates or what explains this high rate? Thank you for your help-
March 30, 2015 at 1:30 pm #19110Damian MarekParticipant
From your project it seems like the length of fiber is pretty short and the sources of noise/distortion very low. I would expect a very good BER perhaps your transmitter/receiver combo is not optimized?
Regards
-
-
November 30, 2016 at 4:40 am #41763wafa mehrezParticipant
Hi marlise,
I have seen your work and it seems that can help me in my work so can you help me and sent to me you project working because i have some problems with co-simulation matlab optiwave. Thank you.
-
April 6, 2018 at 7:32 am #48368Govind ShuklaParticipant
when i am using the emettuer.m code file in my project i am getting error “OutputPort1.Sampled.Signal=InputPort2.Sampled.Signal.*data_transmiss;” for this line as matrix dimension must agree. can anybody solve my problem
-
-
AuthorPosts
- You must be logged in to reply to this topic.