Knowledge Base
Welcome to OPAL-RT’s Knowledge Base
OPAL-RT offers a repository of support information for optimal use of its technology.
Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.
For optimal experience, use a desktop computer.
Reference Number: AA-02103// Views: AA-02103// Created: 2022-10-11 19:19:31// Last Updated: 2023-12-14 00:09:29 Problem & Solution Error at the compilation : sfun_spssw_discc_DSS.o: No such file or directory ProblemWhen compiling a model that contains specific Simscape SymPower System blocs, you have this error at the building stage of the compilation: g++: sfun_spssw_discc_DSS.o: No such file or directory make: *** [itm500usec_1_sm_master] Error 1 ??? Error building itm500usec_1_sm_master subsystem. SolutionIn certain cases, you need to add a few files before the compilation for the build stage to goes correctly. You you will need to add those files, in the Files tab of RT-LAB, in ascii and Before compilation: - DSS_Utils.c - DSS_Utils.h - sfun_spssw_discc_DSS.c Those files can be found here: C:\Program Files\MATLAB\YOUR_VERSION_OF_MATLAB\toolbox\physmod\powersys\powersys After adding those files, the compilation should goes properly. |