0
Answered

Exporting issue

Abhijit Das 4 years ago in IQAN toolbox for Simulink updated by Gustav Widén (System support) 4 years ago 8

I am seeing the following error with Simulink export (the config file is attached). Can you please tell me how I can direct my config to generate code specifically for MC43? I am connected to MC43 through a Kvaser Leaf 2.

 Shared config
Shared config

Image 2327

Image 2330

Image 2331

Answer

The IQAN preferences menu should normally be set to build both target and simulator code. 


If it is set to only build simulator code the code will run in IQANsimulate on the PC, but cannot run on a physical IQAN-MC4x hardware (the target)

0
Answered

Example Simulink model for IQANDesign

Abhijit Das 4 years ago in IQAN toolbox for Simulink updated by Gustav Widén (System support) 4 years ago 11

Hello - being new to IQANDesign and trying Simulink code generation for the first time, I am getting an error while trying out a very simple Simulink model (attached). I have seen the video tutorial on YouTube and I am wondering if I can get hold of any example Simulink model that I can check with my Simulink setup or a list of instructions on how to prepare a Simulink model to comply with IQAN.tlc? 

Also, as shown in the image (attached), during code-generation I am seeing a warning saying the model is not saved. This is kind of strange as my model isn't opened during this process. It also asked me to choose between 'Refresh' or 'Cancel'. I have chosen 'Refresh' in this case.  

Image 2274

Now I am seeing the error as shown below. The full error log is included as *.txt file. 

Image 2276

I am using the following configuration for both parent and referenced models. 

Image 2278

Any help in this regard would greatly be appreciated. 

Thank you!

Abhijit

Here is the Youtube video that I was referring to. 

IQAN_Simulink_test.slx
testModel.slx

IQANDesign-Simulink_error.txt