Home Forums SYSTEM Using Matlab With Optiwave

Using Matlab With Optiwave

Profile Photo
(joined April 2016)
Participant

How do I incorporate Matlab code into OptiSystem

Responses (21):

    • #35913
      Profile Photo
      syed fareed
      Participant

      How do I incorporate Matlab code into OptiSystem

    • #35917
      Profile Photo
      jyoti raina
      Spectator

      Hello syed fareed Sir.. I think it is same question here again.. Still for your convenience i will repost it.
      There are many links that are posted on posts which need interface of matlab with optisystem.. i have these links on such posts..i am pasting these links..see if they are helpful

      Matlab Binary Switch


      http://optiwave.com/category/products/system-and-amplifier-design/optisystem/optisystem-applications/cosimulation-applications/

      i hope these will help you..

      With regards
      Jyoti raina

      +5
    • #35920

      answer already added.

    • #35947
      Profile Photo
      SAHIL SINGH
      Participant

      Hello Syed Fareed,

      First of all i welcome you to the optiwave forum… As far as your question is concerned i completely agree with the view of Jyoti Raina that there are many links that are posted on posts which need interface of matlab with optisystem.. Also the links suggested are very useful.. It will surely be of help to you…

      Regards
      Sahil Singh

      +5
      • #35962
        Profile Photo
        jyoti raina
        Spectator

        Hi Sahil Sir..
        Thanks for appreciating..
        With regards
        Jyoti raina

        +2
    • #35949
      Profile Photo
      varinder singh
      Participant

      helo sahil,
      thanks for helping the syed ..
      regards
      varinder singh

    • #35953
      Profile Photo
      Jojo Mathew
      Participant

      Hello everyone…i have one query regarding the plotting of graphs in optiwave. Is there any way to plot the graph between two independent variables and a single dependent variable…
      Regard

      +1
      • #35955

        Hello Jojo Mathiew,
        I dont think so that there is such a way to plot as you have mentioned. The best way is to use excel and make a table and then plot it.
        please refer to the following links, You will find it beneficial:

        plotting graph

        Regards,
        Dhiman

        +2
    • #35971
      Profile Photo
      SAHIL SINGH
      Participant

      Hello Jojo Matthew,

      There is definitely no such way to plot as you have mentioned.. In order to plot the graph you can make use of matlab if you are aware about its working or the other way as suggested by Damian is to make use of the Microsoft Excel to plot your graph.. It is probably the easiest way to plot the graph.. Hope it helps

      Regards
      SAHIL SINGH

      +1
    • #35977

      Hello syed fareed

      As already mentioned by jyoti raina that this has been discussed in many other topics on the forum.. But for your convenience i would like to mention it again here.. All you need to do is that you have an external software library on the optisystem latest version.. In that you have to select the matlab component and dragging it onto the layout and then double click on the component.. You will find an option of run command and path.. In the path section you have to give complete path of the location where your code exists.. And in the run command section you have to write the name of .m file that contains your code.. After all this you need to tick the load matlab section.. Then press ok and your code is in optisystem and it would be co simulated with the rest of your design.. I hope it helps..

      Regards

      Burhan

      +3
      • #36032
        Profile Photo
        jyoti raina
        Spectator

        Thank you burhan mam for your for explaining in a very nice way..
        I hope it will help Fareed sir now in a lot lot better way..

        With Regards
        jyoti Sharma

        +1
    • #36000
      Profile Photo
      Remo De Suza
      Participant

      Hello Syed Fareed.

      I believe the suggestions provided by jyoti and Burhan num mina should be very helpful to you. This may give you clear picture what is it about interfacing Matlab with optisystem. I hope this will help you.

      With Regards
      Remo

      +6
    • #36010

      Hello Remo De Suza

      Thanks for appreciating.. I hope he makes good use of the above mentioned steps in order to interface matlab with optisystem as i myself initially faced this problem and I understand what it means when we can’t find clear cute steps to make use of a particular component in the optisystem..

      Regards

      Burhan

      +2
      • #36034
        Profile Photo
        Remo De Suza
        Participant

        Hello Burhan Num mina.

        You are welcome. Its my pleasure to learn things from you people here. It has really helped me alot.
        With Regards
        Remo De’Suza

        +3
    • #36072

      hello Remo De suza

      thats why this forum is helpful in some or the other way.. since we discuss the things that prove helpful not only to the person asking but to others as well who face the similar problem.. i also went through a similar process initially but later things become easier as we become familiar with the forum..

      Regards

      Burhan

      +1
      • #36074
        Profile Photo
        jyoti raina
        Spectator

        Hi Burhan Mam..
        I agree with you.. I too have gone through the same and its a learning process..

        With Regards
        jyoti

        +3
    • #36183
      Profile Photo
      Manoj Kumar
      Participant

      Hello syed fareed Sir.. I think it is same question here again.. Still for your convenience i will repost it.
      There are many links that are posted on posts which need interface of matlab with optisystem.. i have these links on such posts..i am pasting these links..see if they are helpful

      Matlab Binary Switch


      http://optiwave.com/category/products/system-and-amplifier-design/optisystem/optisystem-applications/cosimulation-applications/

      i hope these will help you..

      With regards

    • #38825
      Profile Photo
      umer ashraf wani
      Participant

      https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwi7jpf3k8DMAhVQao4KHZzLDkIQFggcMAA&url=http%3A%2F%2Foptiwave.com%2Fforums%2Ftopic%2Fusing-matlab-with-optiwave%2F&usg=AFQjCNG1d89WflcvXuf_47HvjM5xkX9ULg&sig2=0YlxeFIWSqlGpN1VjkIljw
      https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0ahUKEwi7jpf3k8DMAhVQao4KHZzLDkIQFggjMAE&url=http%3A%2F%2Foptiwave.com%2Fforums%2Ftopic%2Fusing-matlab-wih-optiwave%2F&usg=AFQjCNHoppN-YOlc5dMz8sQe305C-dhBeQ&sig2=5KfrpjaSJbE7MoZhyAdJ2A
      https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0ahUKEwi7jpf3k8DMAhVQao4KHZzLDkIQFggqMAI&url=http%3A%2F%2Foptiwave.com%2Fforums%2Ftopic%2Foptical-communication-in-optisystem-using-matlab%2F&usg=AFQjCNHsd75-KR32_sSAcUDB49UeACr8oQ&sig2=3u0MbMojJjVHE2ratyu0SQ
      https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0ahUKEwi7jpf3k8DMAhVQao4KHZzLDkIQFggxMAM&url=http%3A%2F%2Foptiwave.com%2Fforums%2Ftopic%2Ferror-when-using-matlab-component-2%2F&usg=AFQjCNExITUkofUjKEYx8aiOFY4EvMh-5g&sig2=pCqUjvQ-q0snjuytmD9bFA
      https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&uact=8&ved=0ahUKEwi7jpf3k8DMAhVQao4KHZzLDkIQFgg9MAQ&url=http%3A%2F%2Foptiwave.com%2Fforums%2Ftopic%2Fprocessing-in-matlab%2F&usg=AFQjCNGcM7lY03zjIfpNpwhGwWw7NKyImA&sig2=hF5SloImifCAMHbo5FXivQ
      https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&cad=rja&uact=8&ved=0ahUKEwi7jpf3k8DMAhVQao4KHZzLDkIQFghLMAY&url=http%3A%2F%2Foptiwave.com%2Fforums%2Ftopic%2Fuse-of-the-matlab-component-optical-system%2F&usg=AFQjCNE2xjCZYuiGJQRPzQhZMqatcJftTw&sig2=Dc5a7d3vBvsQ1u8Xv2dQLg

    • #38833

      Hello Syed fareed,
      In order to create an optical component in Matlab for co-simulation with OptiSystem, first we need to understand the optical signal format that OptiSystem can generate and the structure of that signal launched into the Matlab workspace.Using the MATLAB Library, we can add a Matlab component to the layout. By clicking on the component properties, on the Main tab, we can choose the Sampled Signal in the time or frequency
      domain. The number of input and output ports and also the format of these signals (Optical/Electrical) can be defined in the Inputs and Outputs tab. The User Parameter tab is used to define the input parameters of the component.

      You can refer to the pdf the link of which i am attaching. I hope this will help you
      https://dru5cjyjifvrg.cloudfront.net/wp-content/uploads/2015/06/Matlab-Optical-Example.pdf?51da48

      Thanks

      +4
    • #38869
      Profile Photo
      Rajguru M. Mohan
      Participant

      Hi Syed,
      I would suggest you ti please refer to following links:

      Use of the Matlab Component [Optical System]

      Matlab /Optisystem

      Matlab Cosimulation

      Integration Matlab coding with Optisystem


      Thanks,

      +3

Login You must be logged in to reply to this topic.