Stateflow coder (R13) missing from installation

7 views (last 30 days)
Yamen
Yamen on 14 May 2022
Commented: Binu on 6 Jan 2023
I need help installing Stateflow coder toolbox as it is missing from my matlab R13 installation; when i install the first time, the Stateflow coder is not listed in the tools list to select to install - refer to following:
when building code from any simulink model, i get the following error; I'm suspecting the missing the stateflow coder is behind the error.
"Error executing build command: Error using ==> make_rtw, Error using ==> tlc_c (InvokeTLC), Error: Errors occurred - aborting"
"### Invoking Target Language Compiler on aess_model.rtw
tlc -r .\aess_model_ert_rtw\aess_model.rtw 'C:\MATLAB6p5\rtw\c\ert\ert.tlc' -O.\aess_model_ert_rtw '-IC:\MATLAB6p5\rtw\c\ert' -Ic:\users\yamen.mejri\documents\perforce workspaces\getsmatlabcustomlibrary\r13\getsac6kcustomblocks\bin\tlc_c -Ic:\users\yamen.mejri\documents\perforce workspaces\getsmatlabcustomlibrary\r13\getstimerblocks\bin\tlc_c '-IC:\MATLAB6p5\rtw\c\tlc\mw' '-IC:\MATLAB6p5\rtw\c\tlc\lib' '-IC:\MATLAB6p5\rtw\c\tlc\blocks' '-IC:\MATLAB6p5\rtw\c\tlc\fixpt' -aCombineOutputUpdateFcns=1 -aEnforceIntegerDowncast=0 -aExtMode=0 -aExtModeTesting=0 -aFoldNonRolledExpr=0 -aForceParamTrailComments=0 -aGenFloatMathFcnCalls="ANSI_C" -aGenerateASAP2=0 -aGenerateComments=1 -aGenerateErtSFunction=0 -aGenerateReport=0 -aGenerateSampleERTMain=1 -aIgnoreCustomStorageClasses=1 -aIncDataTypeInIds=0 -aIncHierarchyInIds=0 -aIncludeMdlTerminateFcn=1 -aInitFltsAndDblsToZero=1 -aInlineInvariantSignals=0 -aInlineParameters=0 -aInlinedParameterPlacement="Hierarchical" -aInlinedPrmAccess="Literals" -aInsertBlockDesc=0 -aLocalBlockOutputs=0 -aMatFileLogging=0 -aMaxRTWIdLen=31 -aMultiInstanceERTCode=0 -aMultiInstanceErrorCode="Error" -aPrefixModelToSubsysFcnNames=1 -aPurelyIntegerCode=0 -aRTWVerbose=1 -aRollThreshold=5 -aShowEliminatedStatements=0 -aSuppressErrorStatus=0 -aTargetOS="BareBoardExample" -aZeroExternalMemoryAtStartup=1 -aZeroInternalMemoryAtStartup=1 -aReleaseVersion=13.0 -p10000
Error: Usage: tlc [options] file"
here are the installed toolboxes versions pulled fom matlab:
MATLAB Version 6.5.0.180913a (R13)
Operating System: Microsoft Windows XP Version 6.2 (Build 9200)
Java VM Version: Java 1.3.1_01 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
-------------------------------------------------------------------------------------
MATLAB Version 6.5 (R13)
Simulink Version 5.0 (R13)
Aerospace Blockset Version 1.0.1 (R13)
Control System Toolbox Version 5.2 (R13)
Curve Fitting Toolbox Version 1.1 (R13)
DSP Blockset Version 5.0 (R13)
Data Acquisition Toolbox Version 2.2 (R13)
Excel Link Version 2.0 (R13)
Fuzzy Logic Toolbox Version 2.1.2 (R13)
Image Processing Toolbox Version 3.2 (R13)
MATLAB Compiler Version 3.0 (R13)
MATLAB Report Generator Version 1.3 (R13)
Model Predictive Control Toolbox Version 1.0.7 (R13)
Optimization Toolbox Version 2.2 (R13)
Real-Time Workshop Version 5.0 (R13)
Real-Time Workshop Embedded Coder Version 3.0 (R13)
SB2SL (converts SystemBuild to Simu... Version 2.5 (R13)
Signal Processing Toolbox Version 6.0 (R13)
SimPowerSystems Version 2.3 (R13)
Simulink Report Generator Version 1.3 (R13)
Stateflow Version 5.0 (R13)
Statistics Toolbox Version 4.0 (R13)
Symbolic Math Toolbox Version 2.1.3 (R13)
System Identification Toolbox Version 5.0.2 (R13)
Wavelet Toolbox Version 2.2 (R13)
xPC Target Version 2.0 (R13)

Answers (1)

Walter Roberson
Walter Roberson on 14 May 2022
Edited: Walter Roberson on 14 May 2022
Stateflow Coder was a separate product than Stateflow, and would have needed to be licensed separately.
You would only have seen Stateflow Coder on the list if you had downloaded the install archives "Stateflow Coder" and "Stateflow Coder common" from your Mathworks account, which would require the license. (However there was an all-products download available which would have included it, if I recall correctly.)
[Stateflow Coder was eventually merged into Simulink Coder, but I do not know when that happened]
  2 Comments
Yamen
Yamen on 15 May 2022
Edited: Yamen on 15 May 2022
yes, Stateflow Coder is a separate product than Stateflow in R13 and I have a license that supports it.
I have downloaded "stateflow coder" install archives from my mathworks account: "Stateflow_Coder.exe". the issue that ran into is when run "Stateflow_Coder.exe" and i try to install, i get the the empty "Product List" window prompt - refer to above attached image .
My pc is having this issue; however, my colleages do not run into this issue when installing "stateflow coder".
Binu
Binu on 6 Jan 2023
I think its the PLP issue. Please generate a new PLP(Mathwork support) for this R13 version and use them while installing this package. I had faced similar issue with Embeded coder. When I used the new PLP given by Mathwork team, it worked.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R13SP1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!