WICHTIG: Der Betrieb von goMatlab.de wird privat finanziert fortgesetzt. - Mehr Infos...

Mein MATLAB Forum - goMatlab.de

Mein MATLAB Forum

 
Gast > Registrieren       Autologin?   

Partner:




Forum
      Option
[Erweitert]
  • Diese Seite per Mail weiterempfehlen
     


Gehe zu:  
Neues Thema eröffnen Neue Antwort erstellen

Codegenerierung aus Fuzzy Controller Block

 

sucb76
Forum-Newbie

Forum-Newbie


Beiträge: 1
Anmeldedatum: 01.03.18
Wohnort: ---
Version: ---
     Beitrag Verfasst am: 01.03.2018, 17:41     Titel: Codegenerierung aus Fuzzy Controller Block
  Antworten mit Zitat      
Hallo zusammen,

ich möchte einen erstellten Fuzzyregler auf einem fixed-point target laufen lassen. Dafür muss ich Code generieren. Der Regler funktioniert mit dem Datentyp double einwandfrei und Code kann generiert werden - ändere ich den Datentyp auf fixed-point, erhalte ich die angehängten Fehler.

Auf mathworks.com fand ich die Aussage, die fuzzy toolbox sei mit fixed-point nicht kompatibel - wie kann es dann sein, dass ich den Datentyp des Controllers genau darauf ändern kann?

Ich freue mich über jegliche Hilfe.

Vielen Dank!

Christian


Hier noch die Fehler:

Code:
Function 'exp' is not defined for values of class 'embedded.fi'.

Function 'Evaluate Rule Antecedents' (#257.729.853), line 23, column 5:
"[antecedentOutputs,sumAntecedentOutputs] = ..."
Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable 'antecedentOutputs'. The first assignment to a local variable determines its class.

Function 'Evaluate Rule Antecedents' (#257.730.747), line 23, column 6:
"antecedentOutputs"
Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Undefined function or variable 'sumAntecedentOutputs'. The first assignment to a local variable determines its class.

Function 'Evaluate Rule Antecedents' (#257.748.768), line 23, column 24:
"sumAntecedentOutputs"
Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Errors occurred during parsing of MATLAB function 'Evaluate Rule Antecedents'
Component:MATLAB Function | Category:Coder error
Simulink cannot determine sizes and/or types of the outputs for block 'Evaluate Rule Antecedents' due to errors in the block body, or limitations of the underlying analysis. The errors might be inaccurate. Fix the indicated errors, or explicitly specify sizes and/or types for all block outputs.
Component:MATLAB Function | Category:Coder error
Simulink cannot determine sizes and/or types of the outputs for block 'Evaluate Rule Antecedents' due to errors in the block body, or limitations of the underlying analysis. The errors might be inaccurate. Fix the indicated errors, or explicitly specify sizes and/or types for all block outputs.
Component:Simulink | Category:Model error
An error occurred while propagating data type 'sfix16_En4' through 'FuzzyController/Fuzzy Logic  Controller/Evaluate Rule Antecedents'.
Private Nachricht senden Benutzer-Profile anzeigen


Neues Thema eröffnen Neue Antwort erstellen



Einstellungen und Berechtigungen
Beiträge der letzten Zeit anzeigen:

Du kannst Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst Dateien in diesem Forum posten
Du kannst Dateien in diesem Forum herunterladen
.





 Impressum  | Nutzungsbedingungen  | Datenschutz | FAQ | goMatlab RSS Button RSS

Hosted by:


Copyright © 2007 - 2024 goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks

MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.