|
|
S-Function write matrix input into array |
|
tkk1988 |
Gast
|
|
Beiträge: ---
|
|
|
|
Anmeldedatum: ---
|
|
|
|
Wohnort: ---
|
|
|
|
Version: ---
|
|
|
|
|
|
Verfasst am: 05.05.2014, 13:27
Titel: S-Function write matrix input into array
|
|
Hello,
since I've never developed an s-function on my own I'm gonna need your help.
I have initialized an input in my c-file
This is my input for a unknown amount of integer values.
Now I want to work with this input and to do so, I want to write the input into an array, but I haven't found any explanation how to do this.
Pleas help
Best regards
Thomas
|
|
|
|
|
SkyRazor |
Forum-Century
|
|
Beiträge: 106
|
|
|
|
Anmeldedatum: 07.05.14
|
|
|
|
Wohnort: ---
|
|
|
|
Version: ---
|
|
|
|
|
|
Verfasst am: 09.05.2014, 15:05
Titel: Re: S-Function write matrix input into array
|
|
tkk1988 hat Folgendes geschrieben: |
Hello,
since I've never developed an s-function on my own I'm gonna need your help.
I have initialized an input in my c-file
This is my input for a unknown amount of integer values.
Now I want to work with this input and to do so, I want to write the input into an array, but I haven't found any explanation how to do this.
Pleas help
Best regards
Thomas |
Hello,Thomas,
if you just want to use an s function to write some input data to an array, i think the documentations as follows will be good references for you.
http://www.mathworks.com/help/simul.....sic-c-mex-s-function.html
Some Information about ssSetInputPortMatrixDimensions
http://www.mathworks.com/help/simul.....-s-function-examples.html
Best regards
Ming
|
|
|
|
|
Einstellungen und Berechtigungen
|
|
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
| 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.
|
|