Simulink Accelerator Mode: Undefined variable “SLAM” or class “SLAM.Utils.checkForMultiRunnableASModel”
Afficher commentaires plus anciens
I have a model that runs fine in Normal mode but when I change to Accelerator I get a strange error which I can't really figure out how to proceed with.
I've searched some for this but I can't find anything about it. I have no calls or any connection to any class named SLAM in my model, so I think it has something to do with Matlab/Simulink. SLAM = SimuLinkAcceleratorMode?
Does anyone have any idea how to continue with this?
Message: Build Error Source: modelname Reported By: Simulink Summary: Undefined variable "SLAM" or class "SLAM.Utils.checkForMultiRunnableASModel".
Message: Model Error Source: modelname Reported By: Simulink Summary: Problem creating Accelerator MEX file for model 'modelname'.
Caused by: Undefined variable "SLAM" or class "SLAM.Utils.checkForMultiRunnableASModel".
1 commentaire
Jingxiong Liu
le 25 Oct 2017
You are awesome!
Réponses (1)
Pablo Romero
le 6 Août 2015
0 votes
Hi Fredrik,
I had the same problem and it was quite difficult to find the solution. But I have good news.
The problem is related to Matlab function slbuild.m , which depending on Matlab Version requires the Package AUTOSAR Target Production Package to work properly.
I hope that works also for you.
Best regards.
Catégories
En savoir plus sur Simulink dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!