Octave Script Action Tutorial: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 25.x)
Zur Navigation springen Zur Suche springen
Inhalt gelöscht Inhalt hinzugefügt
Zeile 8: Zeile 8:


Click on "''New Octave Action''" in the project's tree menu:
Click on "''New Octave Action''" in the project's tree menu:
[[Datei:Menu new octave action.png|200px]]
<br>[[Datei:Menu new octave action.png|300px]]
The new created action will have a number of automatically created input and output pins,
<br>The new created action will have a number of automatically created input and output pins,
which we will not need in this example (these pins and their functions will be described later). So those should first be deleted:
which we will not need in this example (these pins and their functions will be described later). So those should first be deleted:
* go to the new action's "''Schema Tab''",
* go to the new action's "''Schema Tab''",
Zeile 15: Zeile 15:
* then right-click for the context menu,
* then right-click for the context menu,
* select "Remove Pins"
* select "Remove Pins"
[[Datei:Menu delete octave pins.png|200px]]
<br>[[Datei:Menu delete octave pins.png|200px]]
<br>

Version vom 2. September 2021, 10:14 Uhr

Introduction

GNU Octave is a language interpreter with a Matlab compatible interface (almost - not the full Matlab functionality is available, but a reasonable subset).

Example Session1: Display a Graph of a Function

As a first simple example, we'll create an action which displays a simple sin-graph in a separate view. Obviously, you will eventually want to display your own data (measurement data vectors), but we start simple here.

Click on "New Octave Action" in the project's tree menu:

The new created action will have a number of automatically created input and output pins, which we will not need in this example (these pins and their functions will be described later). So those should first be deleted:

  • go to the new action's "Schema Tab",
  • select the pins (either via a lasso, or by shift-clicking on the pins),
  • then right-click for the context menu,
  • select "Remove Pins"


Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden



Copyright © 2014-2024 eXept Software AG