IQAN.export('DOF3_RRR_IQAN2')
### Verify and Export script executed for model DOF3_RRR_IQAN2.
### Executing Model Advisor checks.
Running Model Advisor
Running Model Advisor on DOF3_RRR_IQAN2
============================================================
Model Advisor run: 18-Jul-2022 11:50:17
Configuration: None
System: DOF3_RRR_IQAN2
System version: 10.4
Created by: Friso Meeusen
============================================================
(1) Pass: Check sample time of outports [check ID: IQAN.OutportSampleTimeCheck]
------------------------------------------------------------
(2) Pass: Check step size [check ID: IQAN.FixedStepCheck]
------------------------------------------------------------
(3) Pass: Model information check [check ID: IQAN.InformationCheck]
------------------------------------------------------------
(4) Pass: Check top model pattern [check ID: IQAN.TopModelCheck]
------------------------------------------------------------
(5) Pass: Check data types for in and outports [check ID: IQAN.DataTypeCheck]
------------------------------------------------------------
(6) Pass: Check dimension for in and outports [check ID: IQAN.DimensionCheck]
------------------------------------------------------------
(7) Pass: Check names of ports and models [check ID: IQAN.PortNameCheck]
------------------------------------------------------------
(8) Pass: Check test point paths [check ID: IQAN.TestPointCheck]
------------------------------------------------------------
(9) Pass: Check reference model names [check ID: IQAN.DuplicateRefModelNameCheck]
------------------------------------------------------------
(10) Pass: Check storage class used [check ID: IQAN.StorageClassCheck]
------------------------------------------------------------
Summary: Pass Warning Fail Not Run
10 0 0 0
============================================================
Systems passed: 1 of 1
Systems with warnings: 0 of 1
Systems failed: 0 of 1
Summary Report
### All checks passed!
### Generating code.
### A toolchain is selected that is not supported for simulator code. Using MinGW to build simulator code.
### Starting serial model reference code generation build
### Checking the status of model reference code generation target for model 'DOF3_RRR_ForwardKinematics1' used in 'DOF3_RRR_IQAN2'
### Model reference code generation target (DOF3_RRR_ForwardKinematics1.c) for model DOF3_RRR_ForwardKinematics1 may be out of date. The model or library 'DOF3_RRR_ForwardKinematics1' has changed.
### Starting build procedure for: DOF3_RRR_ForwardKinematics1
### Generating code and artifacts to 'Target environment subfolder' folder structure
### Code for the model reference code generation target for model DOF3_RRR_ForwardKinematics1 is up to date because no functional changes were found in the referenced model.
### Saving binary information cache.
### Model reference code generation target for DOF3_RRR_ForwardKinematics1 is up to date.
### Checking the status of model reference code generation target for model 'DOF3_RRR_Robot' used in 'DOF3_RRR_IQAN2'
### Model reference code generation target (DOF3_RRR_Robot.c) for model DOF3_RRR_Robot may be out of date. The model or library 'DOF3_RRR_Robot' has changed.
### Starting build procedure for: DOF3_RRR_Robot
### Generating code and artifacts to 'Target environment subfolder' folder structure
### Code for the model reference code generation target for model DOF3_RRR_Robot is up to date because no functional changes were found in the referenced model.
### Saving binary information cache.
### Model reference code generation target for DOF3_RRR_Robot is up to date.
### Simulink cache artifacts for 'DOF3_RRR_ForwardKinematics1' were created in 'C:\Users\Friso Meeusen\OneDrive - UniversityCollegeRoosevelt\DOF3_RRR\cache\DOF3_RRR_ForwardKinematics1.slxc'.
### Simulink cache artifacts for 'DOF3_RRR_Robot' were created in 'C:\Users\Friso Meeusen\OneDrive - UniversityCollegeRoosevelt\DOF3_RRR\cache\DOF3_RRR_Robot.slxc'.
### Starting build procedure for: DOF3_RRR_IQAN2
### Generating code and artifacts to 'Target environment subfolder' folder structure
### Generating code into build folder: C:\Users\Friso Meeusen\OneDrive - UniversityCollegeRoosevelt\DOF3_RRR\out\IntelWin32_IQAN\DOF3_RRR_IQAN2
### Invoking Target Language Compiler on DOF3_RRR_IQAN2.rtw
### Using System Target File: C:\Users\Friso Meeusen\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\IQAN Toolbox for Simulink\SystemTargetFile\IQAN.tlc
### Loading TLC function libraries
.......
### Initial pass through model to cache user defined code
.
### Caching model source code
.....................................................
Error: Simulink Coder Error: Simulink Coder Fatal: Failed to compute step size for TID=[0...1] in 'ModelReference' Block: '/Robot'
Main program:
==> [00] C:\Program Files\MATLAB\R2021b\rtw\c\tlc\public_api\block_api.tlc:LibBlockSampleTime(346)
[01] C:\Users\Friso Meeusen\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\IQAN Toolbox for Simulink\MainFileGenerator\utilityFunctions.tlc:myLibWriteSubsystemStruct(215)
[02] C:\Users\Friso Meeusen\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\IQAN Toolbox for Simulink\MainFileGenerator\generateMain.tlc:FcnGenerateMain(91)
[03] C:\Users\Friso Meeusen\OneDrive - UniversityCollegeRoosevelt\DOF3_RRR\out\IntelWin32_IQAN\DOF3_RRR_IQAN2\tlc\iqan_file_process.tlc:(15)
[04] C:\Program Files\MATLAB\R2021b\rtw\c\tlc\mw\formatwide.tlc:(566)
.
### Writing header file DOF3_RRR_IQAN2_types.h
### Writing header file DOF3_RRR_IQAN2.h
.
### Writing source file DOF3_RRR_IQAN2.c
### Writing header file DOF3_RRR_IQAN2_private.h
### Writing header file rtmodel.h
### Writing source file simulationWrapper.c
### TLC code generation complete.
### Build procedure for DOF3_RRR_IQAN2 aborted due to an error.
Build Summary
Top model targets built:
Model Action Rebuild Reason
==========================================================================
DOF3_RRR_IQAN2 Failed Code generation information file does not exist.
0 of 3 models built (2 models already up to date)
Build duration: 0h 0m 19.847s
{Error using tlc_new
Error: Errors occurred - aborting
Error in callTLCService
Error in tlc_c
Error in tlc_c
Error in coder.internal.ModelBuilder>i_buildProcedure (line 706)
buildResult = tlc_c(hCodegenMgr,...
Error in coder.internal.ModelBuilder.make_rtw (line 119)
[buildResult, mainObjFolder] = i_buildProcedure...
Error in build_target
Error in build_target
Error in build_standalone_rtw_target
Error in slbuild_private
Error in slbuild_private
Error in sl_feval
Error in slbuild
Error in slbuild
Error in rtwbuild
Error in verifyAndExport
Error in verifyAndExport
Error in IQAN.export (line 38)
verifyAndExport(model, varargin{:});
}
diary('off')