Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-02294// Views: AA-02294// Created: 2024-03-27 22:48:23// Last Updated: 2024-04-23 21:22:16
Problem & Solution
RT-LAB - Build error - Intel Compiler - icpc: error #10236: File not found: 'DSS_Utils.o' and 'sfun_spssw_discc_DSS.o'

Problem

When trying to build a model (that contains specific Simscape SimPowerSystem blocks) in RT-LAB, you get thefollowing error: 

icpc: error #10236: File not found: 'DSS_Utils.o'
icpc: error #10236: File not found:'sfun_spssw_discc_DSS.o'



OR

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.


Solution

Check if you have the following files in the installation path of the Matlab version that you are using:

- DSS_Utils.c
- DSS_Utils.h
- sfun_spssw_discc_DSS.c

The files should be under the folder:

C:\Program Files\MATLAB\RXXXX\toolbox\physmod\powersys\powersys where XXX is your MATLAB version, for example: R2021b

You will need to add those files, in the Files tab of your model inRT-LAB, in ascii and Before compilation:




If they are in the installation folder, add them to your project in RT-LAB in the Files tab of your project like shown below: