AnsweredAssumed Answered

STM32 Embedded Matlab target complaining about "quote mismatch" when building Simulink model

Question asked by Sebastian K. on Feb 6, 2017
Latest reply on Feb 9, 2017 by Sebastian K.

Hello,
I am having a problem getting the STM32 Embebbed Matlab/Simulink Target to run. I am following the example in the STM32_MAT-TARGET_HandsOn.pdf document for the third example (everything on STM32) step by step, but whenever I try to build the model from Simulink I get the error:

 

=== Build (Elapsed: 0.840 sec) ===
    ### Real-Time Workshop build procedure for method: 'entry
    ### modelName: 'Test3
    ### gcs: 'Test3
    ### bdroot: 'Test3
   
    ### Starting Real-Time Workshop build procedure for model: Test3
    ### Windows version:win64
    ### Model connectivity is: normal
    ### Create verification block: None
    ### Real-Time Workshop build procedure for method: 'error
    ### modelName: 'Test3
    ### gcs: 'Test3
    ### bdroot: 'Test3
    ### Real-Time Workshop build procedure for model: 'Test3' aborted due to an error.
    Error: Syntax error while setting code generation options string: quote mismatch


and no code is generated. I have played around with most of the STM-specific options, but it makes no difference. I am using Matlab R2015b, Win7, Nucleo-F767ZI board and Matlab Target v4.4.1.


Did anyone else encounter that error, or has an idea what could cause it?

Outcomes