Jump to content
OMRON Forums

DeltaTau menu SimuLink 2020b mising


Recommended Posts

Good day, 
I have been following the instructions regarding the installation of MATLAB/SIMULINK TARGET FOR POWER PMAC found on the Power PMAC IDE manual (MN-000291) on a Matlab 2020b distribution. So far I have been able to install it without any issues and generate code that runs on PMAC, however, the DeltaTau menu needed to set up Tunable Parameters is missing.

 

  • Where do we find the DeltaTau menu in Matlab 2020b?
  • How should we set up tunable parameters in the 2020b Matlab version?

 

MATLAB_PMAC.JPG

Link to comment
Share on other sites

I have used the MATLAB library only on older version, so just a guess:

image.png.9950275c408c5d405e521706671b5598.png


Is this the "DeltaTau" menu that you're looking for, by any chance?
In other versions it used to be next to the "C code", but I assume that changes in the simulink layout along the versions might be  making the "DeltaTau" menu to be placed in an awkward place.

Edited by leandro.martins
  • Like 1
Link to comment
Share on other sites


Yes. Thant you very much

However I am still unable to set up the tunable parameters as, when I click crete files in the 
PowerPMAC Tunable Parameter Setup window, I get errors.

I created a simple model to rule out any model related issuesbut got teh same error:

Warning: The 'MultiInstanceERTCode' parameter will be removed in a future release. Please set the
'CodeInterfacePackaging' parameter instead. 
> In slConfigUISetVal
In ppmac_default_set
In stfInitTarget>loc_eval (line 137)
In stfInitTarget (line 118)
In RTW.TargetBrowser/uploadTarget
In targetBrowserCloseCB
In rtwprivate (line 16) 
Warning: The 'MultiInstanceERTCode' parameter will be removed in a future release. Please set the
'CodeInterfacePackaging' parameter instead. 
> In slConfigUISetVal
In ppmac_default_set
In stfInitTarget>loc_eval (line 137)
In stfInitTarget (line 118)
In configset.dialog.HTMLView/apply 

      Parameters from MATLAB workspace
Param Name   Initial Val    PPMAC Mem Loc    IDE Symbol   C code struct field
==========  ========  ===============  ==========  ==============================
    {'Ktn'}    {[50]}    {'Sys.Ddata[1]'}    {'_Ktn'}    {'Ktn'}

Error using Simulink.BlockDiagram.createVarStruct
Too many output arguments.

Error in CreateStructuredModel

Error in PPMAC_param3

Error in gui_mainfcn (line 95)
        feval(varargin{:});

Error in PPMAC_param3

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)PPMAC_param3('pushbutton1_Callback',hObject,eventdata,guidata(hObject)) 
Error while evaluating UIControl Callback.

Simple Model.JPG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...