Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7915957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:37:57+00:00 2026-06-03T14:37:57+00:00

I cannot find it anywhere, tried adding –silence, –quiet etc, but still the script

  • 0

I cannot find it anywhere, tried adding –silence, –quiet etc, but still the script prints everything on stdout as if it was the interactive mode.

I am running octave script with:

octave script.m
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:37:58+00:00Added an answer on June 3, 2026 at 2:37 pm

    If you’re on a Linux or Mac OS X machine, you could try to use the standard shell constructs to solve your problem:

    octave script.m > /dev/null
    

    will gobble everything on the standard output from your script.

    edit
    If CPU is your concern, the code you have is either badly written and would benefit from a rewrite (by adding at least semicolons after each statement) or you could try a dirty workaround.

    What I’d try in that case, is shadowing the display function by a function that takes a single argument and doesn’t do anything. If you place that function in your working directory, much output should already disappear. If that’s not the case, the code might be using fprintf to output to the console and you could try shadowing that function. But beware that fprintf is also commonly used to write to files and has a more complex syntax to overload properly.

    It’s not the nicest thing to do, but it might yield faster results (and lots of troubles during debugging).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Simple question but cannot find answer anywhere. When using a MS Chart Control of
Ok this is a homework questions, but I cannot find the answer anywhere, not
This is a basic question, but I cannot find the answer anywhere. I want
I cannot find EntityConfiguration. The same question for RC was here but I thought
Alright cannot find this anywhere and I was wondering how to grab the values
I cannot find any information anywhere (google, cocoadev, developer.apple) about managing an optional to-one
I'd like to attach images to specific words but cannot find the right CSS
I cannot find anywhere how to add a button to the top-right corner of
I cannot find anywhere how to create a stringtable in Builder C++ 2010. Do
I have an Oracle view that uses a table that I cannot find anywhere.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.