Jump to content
samuel88

The filename, directory name, or volume label syntax is incorrect - Matlab

Recommended Posts

Please, help me: I want to optimize a model. I am using Matlab for the optimization, Hypermesh as a pre-processor for my model and Abaqus as my FEA solver. I want to control all the operations in Matlab. I don't want to open Hypermesh and Abaqus. I have found a way around Abaqus. But I am having a challenge with Hypermesh. Directly from Matlab command, I want to call Hypermesh to execute my TCL script and output Abaqus input file. I want to run this process for many iterations by changing my mesh size in TCL script, thereby generating Abaqus input files of different mesh sizes. 

 

This is my Matlab script for Hypermesh:

 

clear all;
clc;
hypermesh_bin='C:\Program Files\Altair\2017\hm\bin\win64\';

    %enter the directory for the hypermesh executible

    cd(hypermesh_bin);

  run Hypermesh  
 dos ('C:\Program Files\Altair\2017\hm\bin\win64\hmopengl.exe&')

% run .tcl file (the name of my tcl file is comm)
    dos_command = ['hmbatch-tcl' , 'C:\Program Files\Altair\2017\hm\bin\win64\comm.tcl'];

 dos (dos_command)

 

I am getting this error:

 

ans =

     0

The filename, directory name, or volume label syntax is incorrect. 

ans =

     1

 

Please, help me: kindly tell me what I am doing wrong.

 

Also, in order for us to have more discussion, I will appreciate it if you can send me an email, if you have worked with hypermesh directly from Matlab or you know how to do it. My email address is: sasamuelayinde@gmail.com

 

Thank you.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...