Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Matlab C++

Matlab C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vincent Sim
    wrote on last edited by
    #1

    i m doing matlab c++ programming and I met some problems which I cannot solve. to consider [features, targets] = improved_DA1(x, [cluster,0.95]); in matlab.... what should i do in order to call the [cluster,0.95] in Matlab C++ ? i did try to use mwArray(cluster , 0.95) and i get the following compiling result: matlabwizard\matlabfunction.cpp(102) : error C2665: 'mwArray::mwArray' : none of the 21 overloads can convert parameter 1 from type 'class mwArray' C:\foo\matlabwizard\matlabfunction.cpp(103) : error C2664: 'matlabmain' : cannot convert parameter 1 from 'class mwArray' to 'int' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called can anyone help me? thank you very much Matlab C++ newbie

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups