Home Forums GENERAL API OF MATLAB Component

Viewing 1 reply thread
  • Author
    Posts
    • #84755
      Jiaming Song
      Participant

      Hi,

      A MATLAB Component is connected to the 3R regenerator to read the signal and pass it to matlab, but the function to get the data is used incorrectly when writing the code, I don’t know what is the correct API to support my code to read the simulation signal to optisystem. So can you provide an API and tell me the correct way to call the function.

      Code:
      BinaryData = MatlabComp.GetInputPort(‘Input 1’).GetBinaryData;
      ElectricSignal1 = MatlabComp.GetInputPort(‘Input 2’).GetTimeSignal;
      ElectricSignal2 = MatlabComp.GetInputPort(‘Input 3’).GetTimeSignal;

      ERROR:
      Incorrect number or types of inputs or outputs for function ‘GetInputPort’.

    • #84771
      Sawyer Ge
      Moderator

      Hello Jiaming,

      Thanks for reaching us.

      Can you send your license information to support@optiwave.com with your question?

      Best,

      Sawyer

Viewing 1 reply thread
  • You must be logged in to reply to this topic.