OPC DA Write issues
Hi I used to program on Simulink using the OPC DA Config, OPC Write/Read blocks and till version 2017 it worked just fine. Now I implemented it on 2024b version and by the time I want to test it there’s this error that says:
Error:The corresponding ‘opcslwrite.tlc’ file for the MATLAB S-function ‘opcslwrite’ in block ‘hardprog/OPC Write’ must be located in the current working directory, the MATLAB S-function directory ‘C:Program FilesMATLABR2024btoolboxicommopcopcblksopcblks’, or the directory ‘C:Program FilesMATLABR2024btoolboxicommopcopcblksopcblkstlc_c’
I can configure the OPC DA Config Real-Time block, but when I try to add a tag there’s a sound of error and the Browse Name Space shows up but I can’t click in OK nor Cancel it remains there and then I can’t do a thing.
Thank you!Hi I used to program on Simulink using the OPC DA Config, OPC Write/Read blocks and till version 2017 it worked just fine. Now I implemented it on 2024b version and by the time I want to test it there’s this error that says:
Error:The corresponding ‘opcslwrite.tlc’ file for the MATLAB S-function ‘opcslwrite’ in block ‘hardprog/OPC Write’ must be located in the current working directory, the MATLAB S-function directory ‘C:Program FilesMATLABR2024btoolboxicommopcopcblksopcblks’, or the directory ‘C:Program FilesMATLABR2024btoolboxicommopcopcblksopcblkstlc_c’
I can configure the OPC DA Config Real-Time block, but when I try to add a tag there’s a sound of error and the Browse Name Space shows up but I can’t click in OK nor Cancel it remains there and then I can’t do a thing.
Thank you! Hi I used to program on Simulink using the OPC DA Config, OPC Write/Read blocks and till version 2017 it worked just fine. Now I implemented it on 2024b version and by the time I want to test it there’s this error that says:
Error:The corresponding ‘opcslwrite.tlc’ file for the MATLAB S-function ‘opcslwrite’ in block ‘hardprog/OPC Write’ must be located in the current working directory, the MATLAB S-function directory ‘C:Program FilesMATLABR2024btoolboxicommopcopcblksopcblks’, or the directory ‘C:Program FilesMATLABR2024btoolboxicommopcopcblksopcblkstlc_c’
I can configure the OPC DA Config Real-Time block, but when I try to add a tag there’s a sound of error and the Browse Name Space shows up but I can’t click in OK nor Cancel it remains there and then I can’t do a thing.
Thank you! opc, simulink, tlc MATLAB Answers — New Questions