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 8003497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:39:51+00:00 2026-06-04T16:39:51+00:00

I am working with Visual Studio on C++ code, and I send some variables

  • 0

I am working with Visual Studio on C++ code, and I send some variables to MATLAB engine. So far there is no problem. Imagine I have the MATLAB command window opened and these variables:

» whos
  Name            Size             Bytes  Class     Attributes

  QWe             1x365             2920  double              
  QWp             1x364             2912  double              
  QWu             1x364             2912  double 

I can use the standard MATLAB functions, but I have dowloaded a new function.m (which works in MATLAB normally after setting the path) that this command window from MATLAB’s engine is not recognizing or finding.

» isnormq(Q)
??? Undefined function or method 'isnormq'

I thought they (command window and MATLAB) were synchronized but now I see they aren’t.

How can I solve this so I can use my function.m from the command window? Any help will be welcomed.

  • 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-04T16:39:53+00:00Added an answer on June 4, 2026 at 4:39 pm

    As it has been a long time and nobody answered I will post what I did:

    In Matlab everytime you need a newtoolbox you link the path once and there stays “forever”. You can use functions from the toolbox as if they were by default in Matlab.

    Using matlab engine this doesn’t work that way so it is necessary to write the command line:

    % Here we load the toolbox for converting quaternion to Euler Angles
    addpath(genpath('C:\Program Files (x86)\MATLAB\R2010a\toolbox\SpinCalc')); //for example
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on some C code in Visual Studio 2005 on Win7 Pro x64.
I'm working with some code in Visual Studio. My parter-in-crime fellow developer has suggested
I have a project hosted in Google Code. I'm working on Visual Studio with
While working with ASP.NET using Visual Studio (2008) I have discomfort issue: source code
I search the web a lot when writing code. When working in Visual Studio
I faced one issue while working on a C code with Microsoft Visual Studio-2005
I've been working with Visual Studio 2010 Beta-2 to get some advanced learning on
I'm working in Visual Studio 2008 using c#. Let's say I have 2 xsd
What would a developer used to working in Visual Studio have to give up
I have test this code on my development environment (windows 7, visual studio 2010)

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.