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-01519// Views: AA-01519// Created: 2018-08-09 21:18:17// Last Updated: 2023-01-11 04:02:01 HowTo Separation issue " ??? Error using OpInitFunction>CheckSimulinkError" -- How to Separate a Model in MATLAB to Troubleshoot RT-LAB Compilation Errors How to Separate a Model in MATLAB to Troubleshoot RT-LAB Compilation ErrorsThe first step in RT-LAB model compilation is the separation of the model subsystems into individual Simulink .mdl files. When model separation is successful, the console output of RT-LAB will report that the "Starting compilation" step of the compilation has been "Completed Successfully," as shown in Figure 1 below. Figure 1: Example console output of a successful model separation If an error is encountered during this step of the compilation, the model separation can be performed directly in MATLAB to obtain more information about the error and help for its troubleshooting. To separate a model in MATLAB:
Figure 2: Successful model separation in MATLAB |