[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cart2pol and external code interface

From: Fritz Sonnichsen
Subject: cart2pol and external code interface
Date: Thu, 14 Oct 2021 11:06:37 -0400

I have octave running just fine on my ubuntu 16.xx machine. I also ran the octave demo program for calling octave from C++ (external code interface) and this did the Matrix algebra just fine.
  Now I need to run "cart2pol"  but I get "  but I get the errors below:
Any ideas appreciated
============ERROR MESSAGES =============================
error: ‘cart2pol’ was not declared in this scope
..../comp2: line 2: ./octpolar: No such file or directory
======== COMPLETE CODE ===============================
#include <stdio.h>
#include <stdlib.h>
#include <complex.h>
#include <iostream>
#include <iostream>

#include <octave/oct.h>
main (void)
  //float theta,rho;
  //std::cout << theta;
  //std::cout << rho;
  return 0;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]